[Export Plugin] ZMS export plugin for Blender3D

This forum is for Graphics and 3D objects discussions.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Forum rules
Client Editing is a delicate subject. osRose and osiRose will not support or use any Client Editing tool or results as a standard. So you are free to experiment, test, and develop there on Client Editing, but at your own risk

[Export Plugin] ZMS export plugin for Blender3D

Postby cssvb94 on Wed Aug 27, 2008 12:46 pm

Hi guys

Here is the EXPORT plugin for Blender for ZMS files.
ver 1.0
export_bin_zms.zip
export plug-in, ver 1.0
(1.76 KiB) Downloaded 653 times


History:
ver 0.5 - bugfix, UVs not exported correctly.
ver 1.0 (No bones support yet) - triangulates the mesh and creates optimized export structure.
It uses Martin 'theeth' Poirier GMesh library which can be downloaded from http://www.elysiun.com/~theeth/gmesh/ or
GMesh.zip
GMesh Library
(156.16 KiB) Downloaded 617 times


Installation:
1. Open "C:\Program Files\Blender Foundation\Blender\.blender\scripts" in your explorer and paste export_bin_zms.py file there.
2. From GMesh.zip unzip ONLY following files:
GCol.py
GConversions.py
GCore.py
GEdge.py
GFace.py
GGenerics.py
GUVco.py
GVert.py
and copy them into "Program Files\Blender Foundation\Blender\.blender\scripts". (same place as export_bin_zms.py)

Requirements:
1. Model some mesh into Blender or any other 3D modeling package and then import it in Blender.
2. The mesh MUST be with UV coordinates applied or error message will remind you, i.e. texture applied.
3. It's your responsibility to convert the texture to DDS format, Blender won't do it for you =), but it supports DDS texture files.

Usage:
(in Blender)
1. Select desired mesh by right clicking on it.
Example scene, Suzane monkey head, UV applied as seen on right part of Blender window:
export_1.jpg
Initial scene in Blender.

2. Go to menu File->Export and select the export format ('RoseOnline ZMS binary File Format (.zms)...') as it shown on the image below:
export_2.jpg
Select the exporter.

3. Select the folder to export and type the filename:
export_3.jpg
Type the filename and push the export button.

4. Once exported, let's check it in ZMSViewer. Select the exported ZMS file from ZMSViewer open dialog:
export_4.jpg
Load the exported ZMS file into ZMSViewer to check.

5. You should have similar result:
export_5.jpg
It's working! =)


Some additional info:
    :!: Bones and animation are not exported yet!

My work is free for use and modify, but make a reference to me as author.
GMesh Lib is coded and maintained by Martin 'theeth' Poirier URL:http://www.elysiun.com/~theeth/gmesh/

Enjoy :D
Last edited by cssvb94 on Thu Oct 09, 2008 10:11 am, edited 3 times in total.
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby Maxxon on Wed Aug 27, 2008 1:09 pm

cool thank you very much :)
Image
an anymous comment on a program called reloader:
what if a fatal error happens, will it restart it?
User avatar
Maxxon
Hawker's pet
Hawker's pet
 
Posts: 1305
Joined: Sat Nov 10, 2007 12:42 pm

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby lmame on Wed Aug 27, 2008 2:01 pm

Nice :D
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby Sethanye on Tue Sep 02, 2008 11:33 am

i hate blender but still nice lol
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby cssvb94 on Thu Oct 09, 2008 10:11 am

Hi

Script is updated to version 1.0
What's new:
High optimization of the export structure without UV mess.
... and some small bug fixes.

Comments and suggestions are welcome
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby Sethanye on Thu Oct 09, 2008 11:56 am

nice, any upped version of the exporter? maybe with bones? lol
~ Learning Flash ~ Anyone Know Any Good Tutorial DVDs? ~
Image
"Come Into My Dream, Let Me Show You Where I've Been.
Its You And Me I've Seen, Let Me Tell You What I Mean."
User avatar
Sethanye
Neko Chan
Neko Chan
 
Posts: 2603
Joined: Fri Jan 18, 2008 11:23 am
Location: ~ Resident Graphics Artist ~

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby cssvb94 on Thu Oct 09, 2008 3:21 pm

Sethanye wrote:nice, any upped version of the exporter? maybe with bones? lol


Working on that ;)
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby PurpleYouko on Thu Oct 09, 2008 4:15 pm

Cool.

Is there any way we would be able to get the animation files into (and out of) Blender too?
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby cssvb94 on Fri Oct 10, 2008 7:26 am

PurpleYouko wrote:Cool.

Is there any way we would be able to get the animation files into (and out of) Blender too?


If you are talking about ZMD and ZMO .... working on that :ugeek:
aka Spark (ZMSViewer, Blender ZMS plug-in, RoseOnline ZMS/ZMD/ZMO to SMD and vice versa converter)
User avatar
cssvb94
Pomic
Pomic
 
Posts: 109
Joined: Thu May 01, 2008 7:22 am
Location: GMT +1

Re: [Export Plugin] ZMS export plugin for Blender3D

Postby twunk32 on Fri Oct 10, 2008 9:57 am

cool, looking forward to it!

"Expect the unexpected”
User avatar
twunk32
Pomic
Pomic
 
Posts: 91
Joined: Fri Oct 10, 2008 9:55 am

Next

Return to 3D discussions

Who is online

Users browsing this forum: No registered users and 3 guests

cron