SDK Question Creating Custom Planet Rings

Trekkie

Starfleet Head of Ship Design
Addon Developer
Donator
Joined
Feb 6, 2016
Messages
303
Reaction score
8
Points
18
Location
Starfleet Ship Design Bureau
Hi Everyone,

i was wondering if there is a trick/Tool for creating Planet Rings, i have read some Threads that has some explaination about it but i decided to make a dedicated thread for it.
would be great if someone could help out!

Thanks!
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,531
Reaction score
48
Points
48
Something like this?

Rings.jpg


For adding a ring to a planet you have to do 2 things:
  1. Add "Ring configuration parameter to the planets config (Config/Planet.cfg)
    Code:
    ; === Ring Parameters ===
    RingMinRadius = 1.278 ; inner ring radius in units of planet radius
    RingMaxRadius = 2.407 ; outer ring radius
  2. Provide ring textures
    Textures/Planet_ring.tex for 'regular' Orbiter[1],
    Textures/Planet_ring_2048.dds, Textures/Planet_ring_4096.dds and Textures/Planet_ring_8192.dds for D3D9Client
Note, that I've only tested this for Orbiter 2016.
The ring is always at the equator, which seems plausible I guess ;)

[1] it seems that the 'regular' Orbiter does render the rings in black and the shadow. What is missing to render the ring-texture is unknown to me
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,531
Reaction score
48
Points
48
...and it looks like D3D9Client does render the rings, but not the shadow :/
Might be updated (low priority I assume).
 
Top