PinkyandBrains Beginners guide
-
Have you updated nSwitch in Parent window?
Sorry I have not read it:
I set the nSwitch to 2
Why 2? You should use the switch 0, so nSwitch-1
-
Have you updated nSwitch in Parent window?
Both updates done every time i replaced the model.
One inside LOD Parent Data window.
One outside at LOD Parent Selection window at Parents area.If that is what you mean and I understood correctly.
How else you update nSwitch? -
Have you updated nSwitch in Parent window?
Sorry I have not read it:
Why 2? You should use the switch 0, so nSwitch-1
2 cause there are two switches, one for night plus one for day. or it’s not that way?
nSwitch -1?
you mean minus one?
or one?
or zero which is the number of the switch?
I tried it already (1 in nSwitch) not working. It shows default the day model if I untick the switch displayes the night in LE. In Falcon I see always the night model.
Now I imported your apartment LOD and I see it in LE. It has way different approach then what is displayed in the video.
I see default the night texture model and when I untick the switch I see the day texture - model.Also it has the day model to always ON I conclude to this cause the linked CP’s are ptype9 and the ptype 20 switch probably night is off.
EDIT: I just tested your apartment LOD. With nswitch set to 0 doesn’t display anything. With nswitch 1 or 2 always displays the day model texture.
Dead End…
-
I’m talking about switch number.
3ds Max:
So if you use switch 0. Your Parent nSwitch will be 1.
0 + 1
Another example:
If the last number is e.g. switch 15, then nSwich should be 16.
15 + 1 -
I’m talking about switch number.
3ds Max:
So if you use switch 0. Your Parent nSwitch will be 1.
0 + 1
Another example:
If the last number is e.g. switch 15, then nSwich should be 16.
15 + 1It is exactly like your first picture.
and thanx for the clarification of the nSwitch usage - setting.I’ll record a vid to show you that this doesn’t actually work as I do it.
I will create it from scratch.
-
And here is the video:
Sorry at the end falcon didn’t record but it always showed the night texture, during day and during night at 00:00 hours.
I’m uploading and the falcon 3d test display.
-
Your video is too long.
I will give you an idea … Put on your parent some other model (LOD), for example: Street Light. Then you will see where is the problem, model or date. -
Your video is too long.
I will give you an idea … Put on your parent some other model (LOD), for example: Street Light. Then you will see where is the problem, model or date.??? street light?
Street light has one switch only. By default is off and it’s ptype 16.
So which are the prerequisites?
For sure the switch?
But for day doesn’t have to replace it with anything… So I don’t think it is the correct answer to the problem.as I start to think of it looks more logic one switch only for night model.
Day must be transparent ptype?? or it’s alpha full black on the day area? so not to display during night? which will use alpha channel?
Night should not be transparent.
so when night kicks in would be viewable over the transparent day model?Just thinking loud here…
Can actually someone clear this out?
I ain’t the only one here… Nove? any one else? -
Arty Ok, give me a link to your test LOD, please.
-
here you are:
http://www.mediafire.com/file/m6gjizw411f7yb0/day+night+test.7z
all inside
max file
lod file
dds textureUpper left area is for day lower right area is for night.
-
here you are:
http://www.mediafire.com/file/m6gjizw411f7yb0/day+night+test.7z
all inside
max file
lod file
dds textureUpper left area is for day lower right area is for night.
Thanks.
The first view is wrong material setting …. -
Which is wrong? Day or night?
And which is the correct matterial type?I already tried ptype9 for day and ptype20 for night.
sent from my mi5 using Tapatalk
-
Ok Guys I believe I found something but not the switch thing.
I recall I have tested it in the past and it was working ok. It was without Switch. I separated (detach) the polygons - area I wanted to light up and I made them as a ptype that glows at night. So ptype 20 or 22.
https://www.benchmarksims.org/forum/showthread.php?12073-3D-Cities-for-Falcon&p=170531&viewfull=1#post170531Maybe it will work with switch, but most probably not with the info we have.
And after a long search… I found this from the past, Not so accurate on the ptypes but has good info:
Hi Arty,
Any node that is not shaded pType will “glow” at night, (e.g., pType = 2, 4, 6, 8, 12, etc.). A node that is not shaded will always show its full color. Nodes with this pType on aircraft are used for navigation lights. For “Feature” building’s windows, this type of node used for the windows will look normal during the day and lit at night. No Switch is required.
It would be super nice if we could figure out the switch thing. Gives another option and more playfull aspect on texturing better things out like make shadowing effects and etc.
In my gut’s it says it needs 3 switches of type zero (0)???
I found a post from Ramsay showing the 2 switches but both switches are linked to something else which doesn’t show.
https://www.benchmarksims.org/forum/showthread.php?12073-3D-Cities-for-Falcon&p=166926&viewfull=1#post166926so maybe a parent switch connected with two other switches. One for day and one for night?
In my model I need an alteration of the models cause at night it just doesn’t light up but changes color also… sooo…
-
Hey Arty,
I’m sorry late answer.
In your model, the switch is working properly, only the material was not correctly configured. I mean ptypes … but you know how to do it. -
Hey Arty,
I’m sorry late answer.
In your model, the switch is working properly, only the material was not correctly configured. I mean ptypes … but you know how to do it.Thank u m8 no need to be sorry. U help us, and real life is undedstandable.
but…
I maybe know how but i really dont know which.
So which ptypes?I tried till now:
1. Both ptype9
2. Day ptype9 / night ptype20Finally thank u very much for not giving up. I really apreciate it.
sent from my mi5 using Tapatalk
-
Nuno Santos has found how the switch works. Thank you very much.
Soon he’ll post how to set things up and make it work in Falcon.sent from my mi5 using Tapatalk
-
From Nuno Santos I’m sure he is very busy right now:
"Hey mate, I’ve found out how to make it work!
1- In 3Dsmax you just declare ONE switch to the night model (do NOT turn on the “Normally on” check mark, otherwise it will turn into an X-Switch in BMS). Do not make any other switch;
2- In BMS Editor, make sure you set the flag “Has lights” to on for your feature.…and everything’s working peachy on my side. "
All credits go to Nuno Santos.
Thank you very much m8.sent from my mi5 using Tapatalk
-
My pleasure
I’ll try to find some time over the weekend to make some sort of tutorial with all the steps I’ve followed and post it here.And thank you Arty and Eghi, it was your work and research that inspired me to followed this!
-
Hey guys, here’s some sort of tutorial for the night lights in buildings to be activated by a switch:
I’m in no way expert onthe subject so, if you find anything that isn’t done the way it’s supposed to, or that can be improved, please feel free to correct my statements.
And sorry for the sound, it’s not in the best conditions but it’s what was possible for now… -
And a Ptypes Tutorial: