09-06-2011, 04:37 AM,
|
|
NaN
Posting Freak
    
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Blender25 support
For the brave to try:
https://github.com/VDrift/blender-script.../blender25
The script is considered alpha quality, only joe export is functional atm.
|
|
09-06-2011, 11:52 AM,
|
|
Timo 6
Member
  
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
Nice. Have tested properly yet, but I don't get any fatal errors.
|
|
09-16-2011, 11:06 PM,
|
|
joevenzon
Administrator
      
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
NaN Wrote:Blender only supports one normal per vertex. We are storing three normals per face.
In the JOE03 format, we are storing three normal indices per face, and three position indices per face (and three texcoord indices per face, by the way). The normal and position arrays are indexed separately (and have duplicates removed). You are saying that Blender only supports one vertex index per face, and that vertex contains both a position and normal, correct? If so, that's fine. OpenGL is the same way, and at runtime we convert to that arrangement (the VERT_ENTRY stuff at the end of ReadData in model_joe03.cpp). The MODEL class supports reading and writing a format that matches the final runtime format better (ReadFromFile and WriteToFile in model.cpp), although I'm not sure if it's faster since it goes through the serialization code instead of doing a bulk read into memory.
|
|
10-04-2011, 05:23 PM,
|
|
portets
Member
  
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
how do i use this?
i tried putting the vdrift.py from the blender25 in every folder i could think of. with and without export-joe.py.
the old vdrift.py works fine in these locations on blender 2.49. is there somewhere in blender 2.5 to enable external scripts?
|
|
|