Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Weird result loading 3ds model with DeFord's Loader  (Read 1597 times)
0 Members and 1 Guest are viewing this topic.
Offline gelero

Senior Newbie




Java games rock!


« Posted 2005-11-25 19:18:04 »

 Hi guys! Please help me!

I am using the nice 3ds model loader from our mate Josh.

I have modelled a single cube using max and then exported to 3ds format and finally loaded at my application. Until here, everything is fine.

But If I extrude some faces here and there on the same cube, those new face doesnt appear in the SAME APPLICATION render.

Look at this image:
http://www.resolucao3d.com.br/imagens/tank.jpg

And you can download the 3ds model at:
http://www.resolucao3d.com.br/imagens/tank.3ds

Why is this happening?!?!!?

Any help will be much appreciated.
Thank you!
Offline Vorax

Senior Member


Projects: 1


System shutting down in 5..4..3...


« Reply #1 - Posted 2005-11-25 19:34:22 »

Any chance you have the normals reversed on the extruded faces?

Offline DzzD
« Reply #2 - Posted 2005-11-25 20:06:50 »

Load fine with 3dsmax,3dexplore and 3DzzD your loader should be bugged. maybe local axis problem (zoom by -1) and your point order are reversed as your normal.

Bruno

Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline gelero

Senior Newbie




Java games rock!


« Reply #3 - Posted 2005-11-25 20:13:02 »

Any chance you have the normals reversed on the extruded faces?

No. Looks good inside max. And I JUST extrude the faces.
Offline gelero

Senior Newbie




Java games rock!


« Reply #4 - Posted 2005-11-25 20:16:14 »

Load fine with 3dsmax,3dexplore and 3DzzD your loader should be bugged. maybe local axis problem (zoom by -1) and your point order are reversed as your normal.

Bruno

Well, I really dont think modifying Josh's code without let him know is a good ideia.
I debugged his code and everything looks fine. At least, for me, a mere human.

Anyway, how can I multiply those faces by -1 ?

And Bruno, which loader you use at your project? Proprietary?

Or, anybody have Josh's msn, skype, google talk, etc, etc! ?!?
Offline DzzD
« Reply #5 - Posted 2005-11-26 13:45:58 »

The simplest thing to do for you is to import your 3ds model in 3dexplore(or an other software) and export it again, 3dExplore will fixe the problem: it can also remove keyframe,pivot,etc....

Quote
And Bruno, which loader you use at your project? Proprietary?

Yes, It is a part of 3DzzD, but I can share this source code (I already sent it to some people that ask ) but I dont like much doing that because it is really dirty programmed. At the start, it was only developed to test the 3D engine, and It has been made fast and it is not well developed, so I dont like to show it, but If you think you have any interest to having it, I can send it to you.

Bruno

Offline gelero

Senior Newbie




Java games rock!


« Reply #6 - Posted 2005-11-26 17:11:59 »

Hey dude! Dont worry about that!!
Working its ok! And, if you achieved that, its great!

I am interested, yes! Can you sent to guilherme@resolucao3d.com.br  ?

THANK YOU!
Offline DzzD
« Reply #7 - Posted 2005-12-01 09:23:41 »

Ok, give me just some time to polish the code, and to add some explanations.

Bruno

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (109 views)
2013-05-17 21:29:12

alaslipknot (118 views)
2013-05-16 21:24:48

gouessej (147 views)
2013-05-16 00:53:38

gouessej (141 views)
2013-05-16 00:17:58

theagentd (154 views)
2013-05-15 15:01:13

theagentd (138 views)
2013-05-15 15:00:54

StreetDoggy (182 views)
2013-05-14 15:56:26

kutucuk (206 views)
2013-05-12 17:10:36

kutucuk (206 views)
2013-05-12 15:36:09

UnluckyDevil (212 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.079 seconds with 22 queries.