dot3 for the world...

Programming Reality Factory and Genesis3D.
User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR » Sat Feb 04, 2006 9:07 pm

there should be a checkbox when saving as tga in gimp which says something like "first pixel in lower right corner", maybe that's the cause of the upsidedown-ness. at least in another engine ive always had to check it to get it to show up right side up. ignore this if other tgas worked the way you were doing it.

hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post by hike1 » Sun Feb 05, 2006 1:20 am

I put Veleran's archtop 0 and B BN0, BNB in a level, didn't
see any bumps, what am I missing?

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Post by Veleran » Sun Feb 05, 2006 7:45 pm

Thanks for posting the pics with my bump.

I recomend less tiling,perhaps like this .
Attachments
dungeonwall_4_10_lightning.jpg
dungeonwall_4_10_lightning.jpg (8.28 KiB) Viewed 1324 times

wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 » Sun Feb 05, 2006 9:51 pm

hike1 wrote:I put Veleran's archtop 0 and B BN0, BNB in a level, didn't
see any bumps, what am I missing?
You will have to use an actor file at this time as I've not released the code for dot3 for the world yet... still working on it....

hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post by hike1 » Mon Feb 06, 2006 4:39 am

Has anyone ever made a DOT 3 actor using 3ds Max .nfo files?
I don't think they work.

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Post by Veleran » Mon Feb 06, 2006 6:28 am

They work,just name the material prperly,i too use Max-and im counting on dot3 for the actors.

Basically i build all pawns and the player again with the materials named BN0_texture,add the extra materials of the bumps (BNB_texture)
and if i dont want to use the normal maps i can always delete the extra materials-

i hope the prefix does nt matter if i have deleted the normal maps in the build
-i think if the engine doesnt find extra materials it will stop searching for BNb_texture without framerate loss.

User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR » Mon Feb 06, 2006 1:07 pm

also, make sure the material's name is BN0_ and so on, not just the filename, that tripped me up before.

hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post by hike1 » Mon Feb 06, 2006 4:37 pm

Basically i build all pawns and the player again with the materials named BN0_texture,add the extra materials of the bumps (BNB_texture)

When actor studio asks for the name of the extra materials,
what do you put? Suppose your main material name is
BN0_archtop, would you put that? Or, since you're adding
BNB_archtop.tga, would you put in BNB_archtop? Because
when I put BNB for the extra material it didn't add it, but putting
BN0, it added it, not that anything looked bumpy after I made
the .act file.

User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR » Mon Feb 06, 2006 4:46 pm

add BN0_whatever in max, name the material BN0_whatever, then in astudio make an extra material using BNB_whatever, and with the name BNB_whatever. could be BNN_, dont remember which. you might try both.

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Post by Veleran » Tue Feb 07, 2006 4:57 am

Hey-its a .BMP-not a .tga i use for the bump!
Did you use a .tga?-i thought .tga's with mask are for transparency-not bumps.

For me the actor normal mapping works like this.

BN0_SpottedJaguar _________ base material when exporting the actor
BNB_SpottedJaguar _________ name of extra material in Actor studio builder.

The name of the map slot and of the bitmap doesnt matter at all.
Its the main material name that matters,and specially-
the bump is a .bmp.

wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 » Tue Feb 07, 2006 10:08 pm

Veleran wrote:Hey-its a .BMP-not a .tga i use for the bump!
Did you use a .tga?-i thought .tga's with mask are for transparency-not bumps.
I use TGA's as the appliction I use to generate the normal maps only output in TGA... I've never used BMP's for the normal map but it should work as long as the application generating the normal map preserves the rgb values after the normal map is created.

wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 » Sun Feb 12, 2006 2:20 am

More dot3 images
Attachments
modeldot300.jpg
shows dot3 on the world plus support for dot3 on world models
(74.8 KiB) Downloaded 208 times
modeldot301.JPG
some issues with the dot3?with the lightmapping the light should show much better
(67.79 KiB) Downloaded 208 times
modeldot302.jpg
shows dot3 on the world plus support for dot3 on world models
(66.33 KiB) Downloaded 208 times

wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 » Sun Feb 12, 2006 2:26 am

more dot3
Attachments
modeldot303.JPG
shows dot3 for the world and world models
(75.35 KiB) Downloaded 214 times

User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR » Sun Feb 12, 2006 3:38 am

looking amazing, great job! :D

wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 » Sat Feb 18, 2006 3:46 pm

Well... this thing is basically done but there are a few issues but they are not show stoppers for me right now...

My issues are:

1) sometimes unexpected or un-even lighting?(hard to explain actually)
I believe it has to be due to tangent space creation on a face that's been split (doesn't seem to happen with solid non-split faces)

2) light popping (happens with actors too but can be remedied by mixing two or more lights contributions I believe...

3)since brushes are split I must actually bring them back together for tangent space creation and I have a way to do this but I must confirm that it works in ALL cases.

4) I really don't know what the speed hit is yet...

5) I need to add support for static lights...
Attachments
screen005dot3.jpg
(65.16 KiB) Downloaded 210 times

Post Reply