![]() |
.jpk and .joe export with Blender 2.61 - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: .jpk and .joe export with Blender 2.61 (/showthread.php?tid=1588) Pages:
1
2
|
.jpk and .joe export with Blender 2.61 - berzingue - 01-14-2012 Hello, I'm not programmer, just 3d modeler. I would like to develop tracks and cars for Vdrift. Usually I use 3dsmax and Photoshop but I understand I must use blender for export. But impossible to make work .jpk and .joe exporters with Blender 2.61. Can you explain here step by step what I must do ? What I do : I copy each scripts in Notepad and save it as .py, then I put it in Scripts>AddOn file. Then I try to activate scripts in Blender (User preferences), but I can't enable scripts, it don't appear. Thanks a lot for your help... - NaN - 01-14-2012 Download https://raw.github.com/VDrift/blender-scripts/master/blender25/vdrift.py Place it into 2.61/scripts/addons. Enable Import-Export VDrift JOE/JPK format. Tutorials: http://www.youtube.com/watch?v=oju-vKVVaho http://www.youtube.com/watch?v=jDDtv_-jDXI&feature=mfu_in_order&list=UL Wiki: http://wiki.vdrift.net/Category:Tracks - berzingue - 01-14-2012 Exactly what I need. Thanks a lot !! ![]() - NaN - 01-14-2012 For roads you will also need the track editor http://sourceforge.net/projects/vdrift/files/vdrift-trackeditor/ The track creation process is not really streamlined. Feel free to ask questions if something is ambiguous. - berzingue - 01-15-2012 2 questions : - What's the best track editor version ? there is 3 versions here... -How do you assign asphalt, kerbs, grass, sand and wall propreties on a track ? - NaN - 01-15-2012 Quote:What's the best track editor version ? there is 3 versions here...I guess you are using a recent vdrift release, then the most recent one. Quote:How do you assign asphalt, kerbs, grass, sand and wall propreties on a track ?Assign the objects to the related surface groups. Create surface-x groups if required(ctrl+g). You can also just import a vdrift track(jpk) into blender to get a better idea. There should be groups matching the surfaces in the surfaces.txt of the imported track. - berzingue - 01-18-2012 thanks, I have more questions : 1) how must I assign the surface as collidable ? 2) why I have only 1 textures appear on the track in game ? I made a track with 3dsmax an assign a multimaterial with 6 textures. (n°1-asphalt, n°2-grass, etc...) - I export it as .obj. - I open the .obj in blende :no problems, mesh and 6 textures appears. -I export as .jpk, open it n blender : only texture n°6 appears on all the mesh... can you explain me step by step ? I'm newbie with blender... and blender 2.61 have any differences with version you used on video ! - NaN - 01-18-2012 Quote:how must I assign the surface as collidable ?You have to add it to the collidable group. In 2.4 ctrl+g. In 2.6: ![]() To get the available groups simply export as jpk and re-import. Quote:why I have only 1 textures appear on the track in game ? I made a track with 3dsmax an assign a multimaterial with 6 textures.VDrift doesn't support custom materials. You have to provide a diffuse texture. You can provide material and normal maps. Just call them xxx-misc1.png, xxx-misc2.png. misc1: rgb: fresnel reflectance value at zero degrees, a: micro-scale roughness misc2: rgb: normal Quote:and blender 2.61 have any differences with version you used on videoI'll see if I find some time to create a new tutorial with 2.6 - berzingue - 01-18-2012 Thanks for help, collisions are now working ! I send you any pictures of my textures problem : 1) I modelise and texture diffuses on 3dsmax. Then export as .obj, to see it in Blender 2) In Blender, when file is saved as .obj or .blend, all is looking good, textures are assigned. So I export as .jpk 3) I reload .jbk on blender : only one texture appears... In list.txt, only 1 texture has been saved during .jpk export... ![]() ![]() ![]() - NaN - 01-18-2012 Looks like a bug. Can you upload the blend file (with External Data/Pack into .blend file)? - berzingue - 01-18-2012 I've uploaded, but problem stays the same... can you have a look on it ? here is a link to download my track : http://dl.free.fr/rgTpEdiWu it contains .obj, .blend, .jpk files, textures... - NaN - 01-18-2012 OK got it. Switch into edit mode "tab" and split mesh "p" by material. You will get 6 objects. With one texture per object. This should export and will also allow you to assign different surfaces to each object(asphalt, gravel, grass). - berzingue - 01-18-2012 It works ! exept 1 object, the track. in blend, there is mesh, mesh.001, mesh.002, mesh.003, mesh.004, mesh.005 when I export as .jpk, the "mesh" file diseapear. I named it as mesh.000 but it still diseapear !! - NaN - 01-18-2012 It doesn't disappear it is empty(no vertices). For some strange reason it worked for me the first time I tried. Now it doesn't. Looks like the split function in blender is buggy, sigh. It has problems to separate the starting line from the road I think. You'll have to do it manually I guess(select and split). Your target is to have one material/texture per mesh. - berzingue - 01-18-2012 Blender accepts 5 textures on the 6 I assigned ! For now It's ok for me : My goal for me was to learn how import tracks correctly in Vdrift. Thanks for the help ! |