Page 1 of 2
texturing a level problem PLEASE, HELP me
Posted: Wed May 07, 2008 5:57 pm
by nikkk
Hi!
Please help me! i cant to texture model imported from 3ds. see incuded files.
in future i want to try to set player add collisions etc..
thanks !
here max file...
Posted: Wed May 07, 2008 6:15 pm
by nikkk
here max file...
Posted: Wed May 07, 2008 6:21 pm
by Kjell
Hi,
I've imported your 3ds file into ZGE and there seems to be a UV problem.
Make sure to collapse your stack before exporting so that any Rendermap Generator data is baked into your mesh.
*I'm no 3DMax user so I cannot inspect your .max file.
Good luck,
Kjell
Posted: Wed May 07, 2008 6:32 pm
by VilleK
Thanks for helping, Kjell.
I don't have Max either. I tried importing the 3ds into another program and the texture looked weird there too. Nikkk, can you provide a screen shot of how the model appears in Max?
Posted: Wed May 07, 2008 6:39 pm
by nikkk
thanks for replys. here is screenshot if opem max file...
Posted: Wed May 07, 2008 6:41 pm
by nikkk
pplease, try this new 3ds...
Posted: Wed May 07, 2008 6:51 pm
by nikkk
btw, the real texture size is 3072x3072.can you implement to use this size to import as a texture?
Posted: Wed May 07, 2008 6:55 pm
by Kjell
Hi nikkk,
The UV map in your new 3ds file seems to be identical to the old one.
As you can see the majority of faces are overlapping each other, which can't be right. Could you please post a screenshot of the UV Map in 3DMax ( Edit UVW )?
*By the way, switch your 3DMax viewport driver to OpenGL ( instead of Direct3D ) for a more accurate preview of your scenes.
K
Posted: Wed May 07, 2008 7:06 pm
by nikkk
sorry i my timework is out for today. tomorrow i try to unwrup UVW.... see you!))
i guess i did it!)))
Posted: Thu May 08, 2008 7:43 am
by nikkk
here is is 3ds file with fixed UWV coords
Posted: Thu May 08, 2008 8:27 am
by nikkk
i did it!)))))))))) see includes!)
now help me to set up player and collisions...))))
Posted: Thu May 08, 2008 8:28 am
by nikkk
PLEASE!!!
Posted: Thu May 08, 2008 11:13 am
by nikkk
i implement a player, but dont understand how make collisions player with walls and floor(((((((
Posted: Thu May 08, 2008 11:38 am
by nikkk
fixing camera position)))
Posted: Thu May 08, 2008 11:55 am
by Kjell
Hi nikkk,
As mentioned before, there is no CollisionStyle:Mesh or anything similar at the moment, so you need to come up with a alternative. The easiest is to recreate your environment with Models that make use of Box3D / Rect2D_OBB CollisionStyles. It does get quite tedious when you have complex environments though. The other option is to export your 3d polygon data to a text format and write the according collision checking procedure yourself. However, due to ZGE not supporting arrays and communication between objects this takes quite some creative scripting.
Also, since ZGE currently lacks any kind of Raycasting possibilities, determining distances to intersection points is not easy either. Which means that slopes will make your life a whole lot more difficult ( like the exit of your garage ).
I suggest you take a look at Ville's FPS example provided with ZGE.
Kind Regards,
K