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.

3 Dimensional Chat / I'm Definately Doing This Wrong (Unwrap UVW in 3DSM)

Author
Message
FUna
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: The Center Of My Own Universe
Posted: 17th Jun 2005 01:05
So I posted a few days ago about preserving materials in .X files for use in DarkBASIC.

I can save the UVW Diffuse Map as a .bmp "skin" for .X files and it works just fine -- well mostly fine but its workable.

I thought I had my issue solved, but when I edit the mesh then unwrap the same object things go weird in DarkBASIC.

So what am I doing wrong here?

http://www.pneumatica.org/objects/BeerCan.zip

This file contains an object that is supposed to look like a "Beer Can" style inflatable paintball bunker. I unwrapped the object to put some bumpmapping and decals on but when I load it as-is into DarkBASIC...well...you can see for yourself.

The file contains:
--BeerCan.max
--BeerCan.x
--BeerCan.bmp (the unwrapped diffuse map I wanted to use as a "skin")
--BeerCan.dba (source for a DarkBASIC test application)
--BeerCan.EXE (Compiled application -- it is an exe -- so I won't be offended if you recompile it yourself)

Anyone know what I'm doing wrong here?

Keep in mind if I simply add a material to the ChamferCylinder and do the same thing, everything works fine. It goes wacky in DarkBASIC when I edit the mesh.

-- David "FUna" Holstein
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 17th Jun 2005 02:42
I think it's the black on the texture, it's showing as transparent, try changing the black colour for dark grey and see if that gives you what your after.


Van-B

FUna
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: The Center Of My Own Universe
Posted: 17th Jun 2005 04:12
There's no black on the texture...its blue and red. Check the BMP file. That's an unwrapped skin (like in the DB "walking" example program) not a generic texture.

The skin is not wrapping around the object the way it was unwrapped. That's my problem. But I don't know what it is I'm doing wrong to cause it.

-- David "FUna" Holstein
Zergei
19
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 17th Jun 2005 12:35 Edited at: 17th Jun 2005 13:00
er... i looked into it, but the texture isn't as the uvw map shows... i mean, take a look for yourself, unless thats not your uvw and texture, i recomend you start from this...

[edit]
I made a fast texture matching the uvw and it worked, so that was your problem, unless there's something else you hadn't told us...

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-27 18:30:54
Your offset time is: 2024-11-27 18:30:54