Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Models and Media / Segments not using textures embedded into DirectX files

Author
Message
nastasache
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location:
Posted: 12th Aug 2010 21:19
I have a question regarding segments creation.

It is there a way to use textures from Directx (.X) files, instead of using texures from .fps file?

I mean something like:
- remove the textures from segment.fps:


- and use texture from mesh.x:



I ask this because I see the double-faced segments (used for walls having exterior/interior 'faces' for examaple) are created in FPSC using two different meshes - one for external 'face', one for internal 'face' of the wall. This mean, in fact, a double-sided wall is not an only wall, but two. Why? Using textures from DirectX file we can have both sides of a wall in a single mesh.
wizard of id
19
Years of Service
User Offline
Joined: 16th Jan 2006
Location: Sunny South Africa
Posted: 12th Aug 2010 21:37
The code have to be altered for it to work.Also there would have to a standardize dx file layout in order for it to work which means some layouts will not be compatible.It is easier and more compatible to work with fpe and fps files pointing to the textures.

Point 2
Rooms segments require either 4 or 8 walls in order to be painted correctly in the editor.In fact having two different textures on the same wall on opposite faces is possible just by having a texture map with two textures on them and the uv map assigned to each face respectively...

Why would you want to complicate things when this current system works perfectly well enough...with in limits.

Just been chatting to my neighbours teenage daughter and it turns out she's big into UFOs and aliens.

Which is cool because tomorrow she's getting abducted.
nastasache
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location:
Posted: 12th Aug 2010 22:09
Hi, wizard of id
Thanks for your reply!

Quote: "In fact having two different textures on the same wall on opposite faces is possible just by having a texture map with two textures on them and the uv map assigned to each face respectively"


Have you an example?

This mean we can still use 4 walls instead of 8 for a double-sided wall? This may be great, solving my question. But I found nowhere an example of a wall for a segment, created with UV map in so manner to show different pictures for each side of the wall (I suppose the UV picture must be specified on .fps file, but for me any picture I use in .fps have as result the same image in both main sides of the mesh, this having nothing to do with UV coordinates from .X file).

Thank you
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 12th Aug 2010 23:15
If you make your own meshes, you can UV Map them anyway you wish. It is only if your using stock, other peoples or basic app's like signs etc to make your segments that your having the problems.

wizard of id
19
Years of Service
User Offline
Joined: 16th Jan 2006
Location: Sunny South Africa
Posted: 13th Aug 2010 10:41
Quote: "Have you an example?

This mean we can still use 4 walls instead of 8 for a double-sided wall? This may be great, solving my question. But I found nowhere an example of a wall for a segment, created with UV map in so manner to show different pictures for each side of the wall (I suppose the UV picture must be specified on .fps file, but for me any picture I use in .fps have as result the same image in both main sides of the mesh, this having nothing to do with UV coordinates from .X file).
"


Have a look at the scifi corridors it has a single texture map for multiple meshes....

8 walls are still required either way to correctly csg doors as the door frame has a specific size +- 30 untis the average wall thickness is from 7.5 to 15 units so in order for the door to display correctly it would need both walls with stock wall meshes and doors and windows....

Just been chatting to my neighbours teenage daughter and it turns out she's big into UFOs and aliens.

Which is cool because tomorrow she's getting abducted.

Login to post a reply

Server time is: 2025-05-30 10:43:34
Your offset time is: 2025-05-30 10:43:34