08-23-2012, 04:32 PM,
|
|
berzingue
Member
  
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Ok sorry, I try to be more clear.
Step by step :
- I modelise a track with 3dsmax (road, grass, kerbs, walls. No buildings.)
- I save it as .obj
- I import it in Blender
- I assign collisions
- I save it as .jpk
I test it in Vdrift. -> track is ok, bankings elevations correct : it's fun to drive.
Now I want to detail the track with differents objects. Trees, buildings, etc. without to have to modify collisions assigned on the track.
The idea is : I open track.jpk in Blender and I import .obj buildings on the scene. So :
- I modelise any buildings in 3dsmax (garage, tribunes or whatever)
- I save any buildings as .obj (garage.obj, tribune.obj, bridge.obj...)
- I open Blender
- I open track.jpk in blender
- I import any buildings.obj and place it on the track
- I export all the scene (track + buildings) as .jpk
...but buldings don't appear. Only the track.
|
|
08-24-2012, 04:16 AM,
|
|
NaN
Posting Freak
    
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
When importing a obj into blender the object will be called Mesh even if you already have a Mesh object in the scene.
I am not sure if this is supposed to be this way, will ask in the blender forum. I think I will have to add a check to the script, so that it renames objects automatically in the case of name collisions.
The workaround for now is to rename the imported object, the name should be unique. In the pic above I renamed "Mesh" to "marshal" for the export to jpk.
|
|
08-24-2012, 12:52 PM,
|
|
berzingue
Member
  
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
I'm sorry, there is no difference here...
I send you my track. Here is the link :
http://dl.free.fr/cEMS4tGFE
Please try this :
- Open Bugatti>models>Bugatti.obj in Blender (or objects>objects.jpk)
- When the scene is open, Import pits01.obj and/or pont_dunlop.obj inside
- Save it as objects.jpk
- Close scene
- re-open objects.jpk
You'll probably see the track, but not the objects. The strange thing : pits01 and pont-dunlop are present on the meshs list, but not visible on scene...
I tried to rename mesh.016 as "tribune.001" and mesh.015 as "pont_dunlop", no differences..
|
|
08-25-2012, 02:20 PM,
|
|
berzingue
Member
  
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
It works !
Now we can import a basic track, test it quick, assign all essentials things on it (collisions, start positions, skybox...etc...)
and we can add trackside objects later.
It's a big facility.
Thanks a lot !
|
|
08-25-2012, 02:42 PM,
|
|
berzingue
Member
  
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Ok, I have a lot of work to finish my track (Short-Lemans). There is a lot of buildings to modelise...I hope I'll finish it for the end of the year...
I'd like to write again my wishes (or dreams) for this track :
- TV cameras, with zoom effects...
- pit stops (speed limit in pit-area, repairs, refueling, change tires...change driver if endurance race...random pit-stop time...)
- And Day/night lights...self-illuminations for buidings during night...
|
|
|