Bell 412

Everything in connection with developing aircraft for FlightGear
User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell 412

Postby IAHM-COL » Mon Nov 21, 2016 8:30 pm

I can wait

Looking great

I recently pushed v0.3 to FGMEMBERS-NONGPL clone.


I dont remember seeing those black squares. but I was limited to the original black livery to begin with :)
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell 412

Postby IAHM-COL » Mon Nov 21, 2016 8:34 pm

Can you check the normals of your 3d object? that may create that shader's issue. maybe those are triangles in your 3d and those few triangles you do "invert normals"?
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

valery
Posts: 84
Joined: Thu Jun 02, 2016 5:09 pm

Re: Bell 412

Postby valery » Mon Nov 21, 2016 8:42 pm

don't see anything weird:
Image

valery
Posts: 84
Joined: Thu Jun 02, 2016 5:09 pm

Re: Bell 412

Postby valery » Mon Nov 21, 2016 8:55 pm

.. but you're right: it seems to come from the inner gutter of the framework of the skids, don't know how to fix it.
Image

(with a closest look, you can "see" the normal vector (in blue) of the gutters (prev. post/image), they are perpendicular to the whole map)

valery
Posts: 84
Joined: Thu Jun 02, 2016 5:09 pm

Re: Bell 412

Postby valery » Mon Nov 21, 2016 9:44 pm

ok, better:
Image

don't know yet how to fix the last ones (do the same fix for all, some working, some others not)... it's coming from the meshes and it is a real work... Another day ... ==> bug list. :)
Thanks,

Val.

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell 412

Postby IAHM-COL » Tue Nov 22, 2016 12:33 am

also check the rgb values of your material
Sometimes if your rgb values are too skewed the shaders give a black.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

valery
Posts: 84
Joined: Thu Jun 02, 2016 5:09 pm

Re: Bell 412

Postby valery » Tue Nov 22, 2016 10:22 am

Ok, fixed. For those that encounter the same issue:
- at the border edge of two different shading surfaces of a same object (here smooth faces shade + flat faces shade), the reflection shader override the smooth surfaces with the reflection of the flat surfaces if these two regions are perpendicular, or share the same refection space. This appears when the normals of one region are too close to the other region. So the reflection shader apply the reflection of one region to the other region, and when the normals are perpendicular, a black region could appear (reflection is null). Not easy to explain, but I hope you see what I mean. in my case, the black regions were not coming from the smooth surfaces as it appears to be, but from the reflection of the normals of other faces (our flat faces that are perpendicular), ie the gutter of the skids.
- how to fix it: select the faces of the region from which the reflection override the other, assign a new material to them. Change the material according to your needs. Be sure of course this new material will not be reflected ...
F****** bug ! ( [jokemode] since recently, you can change the 'F' by a 'T', means the same thing[/jokemode])
CU

Val.

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell 412

Postby IAHM-COL » Tue Nov 22, 2016 3:57 pm

Good catch valery
I had no clue of such thing was also a problem. Great to add to the knowledge battery here, too.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

valery
Posts: 84
Joined: Thu Jun 02, 2016 5:09 pm

Re: Bell 412

Postby valery » Wed Nov 23, 2016 10:11 pm

Fiat lux !
the landing light extended:
Image

and the result with rembrandt (only):
Image

external:
Image

to shed a light on this:
http://wiki.flightgear.org/Project_Rembrandt#Spotlights

Very funny indeed

if someone knows how to make the same with ALS ... I get it !

Let me know if you have some feedbacks on the handling of the Bell, thanks.

++
Val.

sanhozay
Posts: 167
Joined: Fri Sep 25, 2015 5:59 pm

Re: Bell 412

Postby sanhozay » Wed Nov 23, 2016 11:05 pm

ALS lights are really simple to do.

http://wiki.flightgear.org/ALS_technica ... ary_lights

You might want to combine these with procedural lights:

http://wiki.flightgear.org/ALS_technica ... ral_lights

What's the difference? The first produces the cast of light on the ground and on scene objects, the second produces the glow of the light source itself, e.g. for a beacon or navigation light.


Return to “Aircraft Development”

Who is online

Users browsing this forum: No registered users and 40 guests