Jump to content

sprite rendering order


sipi

Recommended Posts

Is there a way to somehow set up an order for Mantra to render each grid covering the other?

Creating a rendering order for example based on ptnum?

Or something like this is not possible?

sprite_rendering_order.hiplc

image.png.3e072441361d963803ad0ac92c1e6eca.png

 

I'd like to achieve this, see how the grids cover each other, no intersection:

(this was made with COPs, just for demonstration)

image.png.f9c8f2b43bf9479f92c1f603f56ab61e.png

Link to comment
Share on other sites

57 minutes ago, Librarian said:

Hi @Librarian, thank you for the reply! However I'm not sure if you're getting my question right, or I'm getting your hipfile wrong. Because I don't see how would this help for the situation i described. Could you elaborate on what you're suggesting with the hipfile? As far as I see, this is texture projecting onto a geo.

On the first picture i posted there are grids copied onto points. I would like to render them covering each other to prevent intersections. I'm thinking if it can be achieved with some kind of ray manipulating trick at render time...?

Edited by sipi
Link to comment
Share on other sites

50 minutes ago, Librarian said:

@sipiTry this!

 

image.png

@Librarian I'm not sure if I interpreted correctly the setup, but I built a hip based on the picture. I'm not fully understand what's happening here, but it seems to be an interesting way to deintersect the grids, thank you for that.

librarian_grids.hiplc

However. In my case i specifically don't want to change the position of the grids. That's a limitation for me. That's why I'm thinking about doing something in rendertime. But i don't have any idea what...

Edited by sipi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...