IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Prelight and reflection

 
Flame1251  
Posted: Sunday, Sep 2 2012, 15:20
Quote Post


Flame
Group Icon
Group: Members
Joined: Sep 24, 2011

un.gif

XXXXX



Hello to all. I want add reflection on standard object (or make a model with reflection - no difference) and with prelight.

Everyone knows that Kam's scripts not export model with day\night prelight, but export with reflection or specular; script by Deniska export model with correct prelight but export without reflection or specual (problem can be solved by adding in RWAnalyze a section with a reflection from DFF, exported by Deniska's script to a DFF exported by a Kam's script); thank god (figuratively), really - thank to Seggaeman, we also have his DFF plugin, it explort and reflection, and prelight.

But! The problem is that when and specular and reflection are both present, we have a very obvious (nontransparent) ugly reflection. As if DFF export plugin (script) ignored the transparency settings that are set for the reflection.

Here is the screenshot:

user posted image

I would be glad if someone can help me. And sorry for my English.
Users WebsitePM
  Top
 

 
Mark01  
Posted: Monday, Sep 3 2012, 16:13
Quote Post


STUPENDOUS!!
Group Icon
Group: Members
Joined: Sep 21, 2009

eu.gif

XXXXX



Hi Flame

Try this with kam's script, it should work if you need reflection map + day & night vertex colors, I don't think you can export specular on map objects tho.
PM
  Top
 

 
City_Poke912  
Posted: Monday, Sep 3 2012, 17:28
Quote Post


Group: Vice City Stories team
Group Icon
Group: Members
Joined: Dec 27, 2007

pl.gif

Member Award




It's possible to export specular, I tested it on map objects/
PM
  Top
 

 
Flame1251  
Posted: Monday, Sep 3 2012, 18:15
Quote Post


Flame
Group Icon
Group: Members
Joined: Sep 24, 2011

un.gif

XXXXX



QUOTE (Mark01 @ Monday, Sep 3 2012, 16:13)
Hi Flame

Try this with kam's script, it should work if you need reflection map + day & night vertex colors, I don't think you can export specular on map objects tho.

Thank for you answer, but this solution (unfortunately) is not suitable for my case. How I did: I exported model with enable VCOL button and with correct reflection with Kam's script, then I add day\night vertex colors and exported second DFF with Deniska's script, then I (according to the readme, in the order) move DFFs to the nvcm. Final result: object have and reflection, and prelight, but as with the other method - reflection nontransparent. Maybe I must do differently?

QUOTE (City_Poke912 @ Monday, Sep 3 2012, 17:28)
It's possible to export specular, I tested it on map objects/

Tell me more about how you did, please.
Users WebsitePM
  Top
 

 
Mark01  
Posted: Tuesday, Sep 4 2012, 01:10
Quote Post


STUPENDOUS!!
Group Icon
Group: Members
Joined: Sep 21, 2009

eu.gif

XXXXX



QUOTE (Flame1251 @ Monday, Sep 3 2012, 18:15)
Thank for you answer, but this solution (unfortunately) is not suitable for my case. How I did: I exported model with enable VCOL button and with correct reflection with Kam's script, then I add day\night vertex colors and exported second DFF with Deniska's script, then I (according to the readme, in the order) move DFFs to the nvcm. Final result: object have and reflection, and prelight, but as with the other method - reflection nontransparent. Maybe I must do differently?

With this little tool you only need to use kam's script and export vertex color for both day & night with it, which means that you don't have to put your night vertex color info in the vertex illumination channel which is for deniska's script wink.gif


To make things more clear:

-export your object with vertex colors for day time with kam's let's say that the dff name will be house.dff

-export the exact same object with vertex color for night time but in the 'vertex color' channel not 'vertex illum' with kam's and rename it, ex: house2.dff

-then you open nvc tool and you drag & drop your first dff which is house.dff in the tool window then same thing for 2nd file, you drop house2.dff and then it will tell you that both day & night vertex colors has been merged in your first dff file house.dff, now you can delete house2.dff and put house.dff in your img.


& np, glad to help.

QUOTE (City_Poke912 @ Monday, Sep 3 2012, 17:28)
It's possible to export specular, I tested it on map objects/

Can you post a pic? I'd like to see that colgate.gif

This post has been edited by Mark01 on Tuesday, Sep 4 2012, 01:15
PM
  Top
 

 
Flame1251  
Posted: Tuesday, Sep 4 2012, 08:47
Quote Post


Flame
Group Icon
Group: Members
Joined: Sep 24, 2011

un.gif

XXXXX



QUOTE (Mark01 @ Tuesday, Sep 4 2012, 01:10)
With this little tool you only need to use kam's script and export vertex color for both day & night with it, which means that you don't have to put your night vertex color info in the vertex illumination channel which is for deniska's script wink.gif

Nothing. Result is the same - a reflection opaque. Sorry, but can I give you links to 3ds model file (and savefile that did not need to go to the object)?

Also it would be interesting to learn about other methods. Let me remind - a reflection exported, but not exported correctly, reflection just (only with prelight) nontransparent.

I tried set reflection in ZModeler, but with prelight result is the same. Maybe I came across a "strange" model...

This post has been edited by Flame1251 on Tuesday, Sep 4 2012, 17:00
Users WebsitePM
  Top
 

 
Mark01  
Posted: Wednesday, Sep 5 2012, 13:03
Quote Post


STUPENDOUS!!
Group Icon
Group: Members
Joined: Sep 21, 2009

eu.gif

XXXXX



I see, well yes, you can send me your max file.
PM
  Top
 

 
City_Poke912  
Posted: Wednesday, Sep 5 2012, 14:00
Quote Post


Group: Vice City Stories team
Group Icon
Group: Members
Joined: Dec 27, 2007

pl.gif

Member Award




I found my old pic, I don't have full resolution of this:
user posted image
PM
  Top
 

 
Mark01  
Posted: Thursday, Sep 6 2012, 08:12
Quote Post


STUPENDOUS!!
Group Icon
Group: Members
Joined: Sep 21, 2009

eu.gif

XXXXX



Okay so I've tried all the ways possible to get this working with all the scripts available & RWanalyze and I conclude that you can't have reflection map with your custom opacity settings + nvc working together, it just won't work, If you import the nvc data with RWa your relfection opacity will get screwed, same thing If you import your reflection effect, the game will skip the part where you have your opacity setting.


The good news is that it doesn't look too bad without nvc at night, it depends of your object.

user posted image
Basically when you export your object use seggaeman script and check none in render pipeline and uncheck night vertex colors, I'll send you the dff in a min so you can try ingame, but still the best thing you can do is detach the part where you want to apply your reflection map and export it as a separate object so nvc will still be applied to the rest of the building.


@City_Poke912
From the picture I know that this is Dexx shader, sagfx, so yeah this isn't possible without external scripts/hacks.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG