Quad rendering bug

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Quad rendering bug

Postby HarryTuttle » Thu Apr 06, 2017 11:23 am

Ian wrote:Harry,
can you find any bad quads that are the first ones in the list? (Ie no shared verts). If they are, then the gpu is deciding to split them somehow. If not perhaps they are just related to how they are coming out of memory ..
Lost world doesn't use any shared vertices, so every quad would be a first quad :p


You mean some visual reference?
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: Quad rendering bug

Postby Ian » Thu Apr 06, 2017 12:50 pm

Yeah exactly :)
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Quad rendering bug

Postby HarryTuttle » Thu Apr 06, 2017 4:15 pm

Ian, I think I found one after all, i marked every quad with no shared vertex and specular enabled (with the latter set it's easier to find something wrong):

Left: Supermodel, Mid: Supermodel with poly marked as magenta, Right: Abe's video
ral_01.jpeg
ral_01.jpeg (239.48 KiB) Viewed 7486 times
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: Quad rendering bug

Postby Ian » Thu Apr 06, 2017 4:20 pm

Nice :)
Does it look normal if you switch the split direction?
Will definitely have a look at this one
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Quad rendering bug

Postby HarryTuttle » Thu Apr 06, 2017 4:22 pm

I've to try. Will post the result soon...
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: Quad rendering bug

Postby Ian » Thu Apr 06, 2017 4:23 pm

Okay thanks
Also the specular looks pretty nice :)
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Quad rendering bug

Postby HarryTuttle » Thu Apr 06, 2017 4:32 pm

Yeah, it works!

Left: Supermodel, Mid: Supermodel with poly marked as magenta, Right: Abe's video
ral_02.jpeg
ral_02.jpeg (239.16 KiB) Viewed 7483 times
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: Quad rendering bug

Postby Ian » Thu Apr 06, 2017 4:37 pm

So if that quad isn't sharing any vertices.. How is the hw deciding which way to split the poly ..
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Quad rendering bug

Postby HarryTuttle » Thu Apr 06, 2017 4:48 pm

Could it be that are just drawn like this? So the following polys in the strip with shared vertices change the split direction accordingly?
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: Quad rendering bug

Postby Ian » Thu Apr 06, 2017 4:52 pm

Possibly yes
Wonder if you can find any quads that aren't sharing vertices that already look correct, and look incorrect when you change the split? That would be interesting to know... :)
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

PreviousNext

Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron