View previous topic :: View next topic |
Author |
Message |
ShadowTzu Member
Joined: 30 Oct 2005 Posts: 3 Location: France
|
Posted: Mon Oct 31, 2005 7:06 am Post subject: dmf format |
|
|
Hi, i make a dmf loader's for my engine, and i have a little problem with material information:
Code: |
15;Wood02;Wood;0;1;0,Wood\Wood02.jpg,1; |
this, is good, but now:
Code: |
0;system;System;0;1;0,System\system.bmp,1;
...
16;;System;0;4;0,System\system.bmp,1;;;0,LightMaps\cube\LightMap0.bmp,3; |
why have there material "0" and "16" with same texture?
this isn't good?:
Code: |
0;system;System;0;1;0,System\system.bmp,1;0,LightMaps\cube\LightMap0.bmp,3; |
thanks
(Sorry for my bad english :p) |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Mon Oct 31, 2005 7:14 am Post subject: |
|
|
Because it's easier to sort by material in d3d and opengl than it is to do otherwise. It keeps the texture changes to the minimum in your engine, and the render speed faster.
You bind the textures of each material and render only the polygons that use that material, then you continue to the next material. |
|
Back to top |
|
|
ShadowTzu Member
Joined: 30 Oct 2005 Posts: 3 Location: France
|
Posted: Tue Nov 01, 2005 1:30 pm Post subject: |
|
|
ok
I have finish my loader:
but now i need a good map for make good screenshot
if anyone can help me?
edit: other screenshot:
|
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Nov 02, 2005 7:30 am Post subject: |
|
|
Great work with the loader, screenshots are looking really nice! |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Wed Nov 02, 2005 9:00 am Post subject: |
|
|
The water looks awesome! What engine is this? _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
ShadowTzu Member
Joined: 30 Oct 2005 Posts: 3 Location: France
|
|
Back to top |
|
|
|