Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Support & Bugs
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Support & Bugs Support & bug reports for Orbiter addons.

Reply
 
Thread Tools
Old 09-16-2017, 03:57 PM   #1
galleto
Orbinaut
Question Night textures for meshes

I'm building a moon base as my first ever attempt of making something for orbiter and i dont know how to implement the night textures i created for my own meshes. I can see that they have to be in the same folder as the day textures and with a _n suffix in the name of the file but they dont seem to be working and I cant find any more info regarding this
Some help would be appreciated.
galleto is offline   Reply With Quote
Old 09-16-2017, 04:42 PM   #2
Notebook
Donator
 
Notebook's Avatar


Default

What happens to your textures as you move into local darkness? Do they disappear or remain as the "day" texture?

N.
Notebook is online now   Reply With Quote
Old 09-16-2017, 06:11 PM   #3
galleto
Orbinaut
Default

Quote:
Originally Posted by Notebook View Post
 What happens to your textures as you move into local darkness? Do they disappear or remain as the "day" texture?

N.
They use the same texture for night and day
galleto is offline   Reply With Quote
Old 09-16-2017, 06:22 PM   #4
fort
Orbinaut
Default

I have not done this for a very long time but:
does not the night texture have to be declared in Orbiter/Config/Base.cfg?

; === List of generic textures ===
BEGIN_TEXTURES

.....................
mytexture_n
fort is offline   Reply With Quote
Thanked by:
Old 09-16-2017, 07:38 PM   #5
galleto
Orbinaut
Default

Quote:
Originally Posted by fort View Post
 I have not done this for a very long time but:
does not the night texture have to be declared in Orbiter/Config/Base.cfg?

; === List of generic textures ===
BEGIN_TEXTURES

.....................
mytexture_n
I have been checking out another projects but I cant see any BEGIN_TEXTURES entry.
galleto is offline   Reply With Quote
Old 09-16-2017, 08:08 PM   #6
fort
Orbinaut
Default

In "Orbiter/config/" there is a file named Base.cfg. Take a look at it.
fort is offline   Reply With Quote
Old 09-16-2017, 08:29 PM   #7
BrianJ
thing
Default

Hi,
I think you need to edit the /Config/Base.cfg file. Add your texture names to the default list.
BrianJ is offline   Reply With Quote
Old 09-16-2017, 10:18 PM   #8
galleto
Orbinaut
Default

Quote:
Originally Posted by fort View Post
 In "Orbiter/config/" there is a file named Base.cfg. Take a look at it.
Quote:
Originally Posted by BrianJ View Post
 Hi,
I think you need to edit the /Config/Base.cfg file. Add your texture names to the default list.
tnaks, gonna try that.
galleto is offline   Reply With Quote
Old 09-16-2017, 10:40 PM   #9
Notebook
Donator
 
Notebook's Avatar


Default

As said by Fort and BrianJ above, you need to put your texture names into the /Config/Base.cfg file.

Here is my information for one of my base add-ons:

Quote:
Brisbane Installation.

Extract to the Orbiter directory, keeping directory paths, then
add these lines

Brisbane_Wall01
Brisbane_Wall02
Brisbane_Wall03
Brisbane_Wall04
Brisbane_Wall05
Brisbane_Wall06
Brisbane_Wall07
Brisbane_Wall08
Brisbane_Roof01
Brisbane_Roof02
Brisbane_Roof03
Brisbane_Roof04
Brisbane_Roof05
Brisbane_Roof06
Brisbane_Roof07
Brisbane_Roof08
Brisbane_Roof08a

between

; === List of generic textures ===
BEGIN_TEXTURES
...
and
...
END_TEXTURES

in the base.cfg file, keeping all existing entries.
The base.cfg file should be in your Orbiter\Config directory.

== Credits ==

Dr. S.
Ar81 - SurfaceTile Wizard and Mesh Wizard
Orbiter-forum members for lots of advice and help.

== Credits ==

5/11/2010.
N.

Notebook is online now   Reply With Quote
Old 09-17-2017, 11:45 PM   #10
galleto
Orbinaut
Default

Well that didnt work out. I found a better solution by using light emmiting materials so they look bright at night.
Thanks for the help anyways guys

Last edited by galleto; 09-17-2017 at 11:57 PM.
galleto is offline   Reply With Quote
Old 09-18-2017, 07:04 AM   #11
Notebook
Donator
 
Notebook's Avatar


Default

How so?

I've just installed YBBN Brisbane base add-on into Orbiter2016, added the new texture names as above into /Config/Base.cfg, opened scenario "Delta Glider at Runway 01", accelerate times till its dark and the night textures appear.

They aren't pretty as I just inverted the chroma for the _n.dds files. but they prove the principle.

Have you changed your textures content when you made the _n.dds version?

N.

Last edited by Notebook; 09-18-2017 at 07:05 AM. Reason: textures not tiles
Notebook is online now   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Support & Bugs

Tags
night, textures


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 11:44 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.