Forums | Hello Guest, Login or Register | > > L4Y Files: No longer here! < <
  Red Faction : Lounge : VBMs affected by lighting? [Forum Rules]  


Back to Forum Thread List

Beatonator    Posted 30th Jul 2009 12:04pm
Post 3097 / 3716
Im working on one of my maps... (and possibly all of them, along with (maybe) whacking them all together into a final hurrah of a mod) but I need to know, can VBMs be affected by lighting? Im pretty sure they aren't which is gonna cause problems for me, but will have to work around it.

Also... using mipmaps....

I want to keep the VBM filesize down, but its only supposed to "animate" every so often. So I want a single TGA for about 5 seconds.

Example-0001.tga <---5 Seconds



Then I need a Smooth transition of about 4/5 frames.

Will it work if I set MakeVBM to do 1 frame every 5 seconds, but have...

Example-0001.tga
Example-a0002.tga
Example-b0002.tga
Example-c0002.tga
Example-d0002.tga

etc...?
is this what mip-maps are for?

Edit: Ignore the mip-map question, I just found out what mip-maps are. Still need to figure out how to do this without using an insane amount of frames.
Trying to find old players. Anyone about? Drop me a PM or reply to this thread:
>Link< (or head over to RFrun.net's comment section!)  
 Modified Jul 30th, 12:06pm by Beatonator
RF Grim Reaper   Posted 30th Jul 2009 12:14pm
L4Y Member
Post 835 / 902

Mipmaps are for distance based texture changes, ie when an object is over a set distance from the player the object will use a smaller texture - similar to when cheaper models are loaded in place of higher detailed ones at distance.

As for the vbm, the only way of doing it that I know of would be to set the framerate you want for the animating section then have:
Example-0001.tga
Example-0001.tga
Example-0001.tga
Example-0001.tga
Example-a0002.tga
Example-b0002.tga
Example-c0002.tga
etc...

You would have to animate the same texture for a few frames so it appeared static.

Another way you could do it would be using the swap_texture event in RED
Maps | Stargate MOD | Daves Place | Moddb Site    Modified Jul 30th, 12:15pm by RF Grim Reaper
Beatonator    Posted 30th Jul 2009 12:27pm
Post 3098 / 3716
Thats what I thought

It just seems a waste of memory having redundant frames. Never tried the swap_texture event. Does it work in Multiplayer?

Hows it going btw Grim? If your about pop on MSN

What about the Lighting affecting VBMs?

Im having trouble using makeVBM. Im using the correct command structure as its working with previous .tga's, but the new ones I have made arent compiling into a VBM, just bugging out after it tries to load the first frame. Im using 24bit .tga (uncompressed), source files are in the same folder as the makevbm.exe.
Trying to find old players. Anyone about? Drop me a PM or reply to this thread:
>Link< (or head over to RFrun.net's comment section!)  
 Modified Jul 30th, 01:17pm by Beatonator
RED-FROG   Posted 30th Jul 2009 3:48pm
L4Y Resident
Post 4569 / 5258

Don't use Paintshop.
¤ MARS WARS 3! - Red Faction revamped on the unreal engine. Superiority ¤    
Beatonator    Posted 30th Jul 2009 4:45pm
Post 3099 / 3716
Well can you recommend something other than Photoshop/Paintshop?

I used to use PSP7 and it worked fine, it must be the new version?
Trying to find old players. Anyone about? Drop me a PM or reply to this thread:
>Link< (or head over to RFrun.net's comment section!)  
 
RED-FROG   Posted 31st Jul 2009 11:37am
L4Y Resident
Post 4570 / 5258

All I know is that with Paintshop Pro 8 it doesn't work.
¤ MARS WARS 3! - Red Faction revamped on the unreal engine. Superiority ¤    
Beatonator    Posted 31st Jul 2009 12:05pm
Post 3102 / 3716
Well thats 2 out of the 3 questions answered. Can you shed any light on the "Lighting affecting VBMs"?
Trying to find old players. Anyone about? Drop me a PM or reply to this thread:
>Link< (or head over to RFrun.net's comment section!)  
 



RF Grim Reaper   Posted 31st Jul 2009 12:35pm
L4Y Member
Post 836 / 902

I'm good thanks Beat, how've you been?

Personally I use The Gimp.

As for how lighting affects vbms, I've just had a play around with the vbm's in RED applying different lights to them etc.

They are affected by light but not always the way you would expect - the colour of the light doesn't always mix with the colour in the vbm the way it would if it wasn't animated.
Maps | Stargate MOD | Daves Place | Moddb Site    
Beatonator    Posted 31st Jul 2009 1:25pm
Post 3103 / 3716
Im good cheers mate. Cheers for "the GIMP" head up. Will check that out. Will have to see what happens with the lighting when I apply it I guess. The level is all finished apart from Weapon placement really.
Trying to find old players. Anyone about? Drop me a PM or reply to this thread:
>Link< (or head over to RFrun.net's comment section!)  
 



Copyright © 2000-2025 Levels-4-You
Your request was handled in 0.09 seconds.