Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / problem creating planes all of a sudden...

Author
Message
shadey
14
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 22nd Apr 2019 14:55
Havent coded the engine for a few days or used planes, but in this version (0.70) I get these artifacts n a plane,others like sphere and box are fine...





Hail to the king, baby!
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 22nd Apr 2019 22:00
Let's see some code?
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 23rd Apr 2019 12:30
What's the green coloured one?

As I understand it, planes in AppGameKit are double sided, is it possible one side is offset or both have the same normals? Have you got blackface culling on?
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 23rd Apr 2019 17:11
Perhaps its snakes....you know....on a plane ...

Anyway....It looks like z-fighting to me.
https://en.wikipedia.org/wiki/Z-fighting

Do you have a plane object on top of another plane. Perhaps a highlight object on top of the flat plane area???

If you do, you will have to separate the too objects a little or use SetObjectDepthBias ( objID, bias )
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 24th Apr 2019 12:01
Lol......snakes on a plane......very droll.

I wonder what's happens if it rotates.......it kind of looks like a lighting error to me. Hard to tell without more info though around what shapes are created...especially with that random yellow coloured one.

Login to post a reply

Server time is: 2024-03-28 15:56:21
Your offset time is: 2024-03-28 15:56:21