Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bennoms

Pages: [1]
1
Support / Re: An advanced example
« on: June 11, 2008, 10:52:49 pm »
Hi !

I really liked your project feud_demo! But i´m trying to load a *.3DS file created on 3ds Studio Max 9.0 on it, and I can´t find a way to render the scene objects with their texture.
I create the scene on 3ds Studio with materials (checker, bitmaps, gradient and others) and I´d like to render it on like a Level for feud_demo, but all textures get WHITE.

I´m trying something like this:

////////////////////////////////////////

Object3D[] objs = Loader.load3DS("C:/Development/feud_demo_tests/bin/Campus.3DS", 1.0f );

for (int i = 0; i < qtdObjs;i++){
           objTemp = objs;
           //objTemp.calcTextureWrap(); //tried with and without this metod
           world.addObject(objTemp);
        }

////////////////////////////////////////

If I use "Unwrap UVW" on 3ds studio and link a bitmap file, I can call setTexture in the demo (it works), but
 - isn´t there a way to load the whole 3DS scene without the needing of create a lot of external bitmaps? Or maybe i´m doing something wrong (probably)!

Because if i have a lot of walls in a complex scene, I´d like to fix the walls textures on 3ds Studio rather than create a UV Map.

 - And when I create a light in the 3DS scene, the same isn´t created in the demo!

It would be easier if I knew how the Level.ser was generated, but I don´t.

Oh! I´m new at JPCT programing and 3DStudio design so, i´m sorry about my litle knowledge.

Could you please help me?

Thanxs B.


I've finally managed to finish documentation of my client-/server-based fps-example. It's for you to enjoy, rip apart, make jokes about ...whatever. Please note that the level and the models are not done by me. Here are the files: http://www.jpct.net/download/feud_demo.zip and here's a webstart demo: http://www.jpct.net/demos/feud/feud.jnlp.

Have fun!

Pages: [1]