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.

Author
Message
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 29th Dec 2010 17:51
Hi all,

Just a quick question... I'm trying to achieve an effect in my game that when the user clicks on an object in the camera's view, the object briefly pulses white then goes back to looking like normal.

I used the FADE OBJECT command with great success to do this, but when I try to use FADE OBJECT on 3DS files that I've loaded into the scene, it barely affects it. It's as if the 3DS object has a high self illumination value that is stopping it from being brightened in the scene or affected by my lights at all... Is there a way to stop this happening at all? Has anyone else run into this problem?

Any help would be awesome. Thanks in advance.
dn5
15
Years of Service
User Offline
Joined: 23rd Dec 2010
Location:
Posted: 29th Dec 2010 19:38
So you try with with other exported models like ".x" and it works? If so, why don't you export you model to .x, because if its up to animation, D3D files have animation in their self, as you already know.

Does your lights affect to not fade your object or lights help fading the object?
I didn't quite understand that line:
Quote: "as if the 3DS object has a high self illumination value that is stopping it from being brightened in the scene or affected by my lights at all"


[Its just me - and my opinion]
Jeff Miller
21
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 29th Dec 2010 20:02
Traditionally, 3DS files are problematic in DPPro. The best course is to import models in .x, then save them out for later use in .dbo format (DBP's native format).

To convert a 3DS model to .x, you can import it into Truespace (a free program), then export it out in .x format.
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Dec 2010 02:17
@Dn5 - actually, I didn't say I was using .X files. The success I mentioned was while using the in-engine objects like when using the MAKE OBJECT BOX commands, etc.

@Jeff - I would love to use .X files in my games, but I use 3DS Max for my asset creation and I can't find any .X file importer/exporters... Know of any?
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Dec 2010 02:55
Well, turns out I should google harder...

I found a .x file exporter for 3ds Max, and exported my objects as .x, but I still have the same problem. The glow BARELY affects the object. It's as if the object automatically has a FADE OBJECT level of 1000 or something and I can't override it...
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Dec 2010 03:25
I found out what's causing it, though not how to fix it... Object scaling. When the object is displayed at its normal size, it works fine, but when it is scaled down to 5% using the SCALE OBJECT command, it screws with the object's lighting info... Any ideas?
Duke E
17
Years of Service
User Offline
Joined: 10th Mar 2009
Location:
Posted: 30th Dec 2010 10:50 Edited at: 30th Dec 2010 10:51
May be the object normals. Remember i had models of different scales exported and some of them where unaffected by DBP lights.

Try "Set Normalization On" in the beginning of the program.

Regards
Duke
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Dec 2010 11:47
I'll give that a shot! Thanks for the tip!
Jeff Miller
21
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 30th Dec 2010 12:29
I told you which exporter to try: Truespace. Save the 3DS formatted model you created, import it into Truespace, and export it as .x. I do it a lot.
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Dec 2010 14:21
Yeah, I know, I was trying to cut out the extra step and get it happening right in and out of 3ds Max. The fewer apps I use, the fewer chances of something going wrong in the pipeline.

I found Panda Exporter and that works great to export them, but not import.

Anyway, it's not the file format causing the problem. It's the scaling.
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 30th Dec 2010 14:51 Edited at: 30th Dec 2010 14:51
Quote: "May be the object normals."

You could also try using SET OBJECT NORMALS on the object.


Guns, cinematics, stealth, items and more!
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 31st Dec 2010 05:50
I will give that a go! Thanks!
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 31st Dec 2010 06:23
No change

Login to post a reply

Server time is: 2026-07-18 07:32:37
Your offset time is: 2026-07-18 07:32:37