Jump to content

imagenetwork as a texture


junaid

Recommended Posts

Hey guys,

i was wondering is there a way to call my image network in shop as a texture,

for example i was working creating reflection ball in the scene i realize i have

to do certain alteration to my image like little bit color correction, blurring and

croping, so i did that in cops but then how do i load back that cop network into

my shop as a texture, with out rendering out image from cop?

cheers,

Junaid.

Link to comment
Share on other sites

you can use the op syntax in the SHOP paramter, so it would look something like this

op:/img/img1/myImageNode

myImageNode should be the last node in your cop network

Just be aware of this syntax leads to un-aliased maps.

For best results use .rat files.

A way would be to link a copROP into your mantraROP so the image-network gets rendered before the rat files are used at render time.

Link to comment
Share on other sites

Just be aware of this syntax leads to un-aliased maps.

For best results use .rat files.

A way would be to link a copROP into your mantraROP so the image-network gets rendered before the rat files are used at render time.

I have tried with op function with pic and rat files, I didn't understand what exactly you saying.

i am attaching my file here, it would be nice if you could fix this.

Cheers,

Junaid

Link to comment
Share on other sites

Just be aware of this syntax leads to un-aliased maps.

For best results use .rat files.

A way would be to link a copROP into your mantraROP so the image-network gets rendered before the rat files are used at render time.

I have tried with op function with pic and rat files, I didn't understand what exactly you saying.

i am attaching my file here, it would be nice if you could fix this.

Cheers,

Junaid

cop2shop.zip

Link to comment
Share on other sites

I have tried with op function with pic and rat files, I didn't understand what exactly you saying.

i am attaching my file here, it would be nice if you could fix this.

Cheers,

Junaid

ohh yeah it worked, i dont know there was somethng wrong with that shader

i created new constant shader and aply the cop string to it with op syntax...

it worked :( why dont know :o

cheers,

junaid

Link to comment
Share on other sites

I have tried with op function with pic and rat files, I didn't understand what exactly you saying.

Sorry for not being clear:

If you modify an image of any type in COPs and then reference it in any parameter with the op:/ syntax:

the output will not be anti-aliased.

For best quality you need to render the modified image to disk.

Link to comment
Share on other sites

Sorry for not being clear:

If you modify an image of any type in COPs and then reference it in any parameter with the op:/ syntax:

the output will not be anti-aliased.

For best quality you need to render the modified image to disk.

ohh thanks i will do that once i am sure by preweing some render and staisfy with the opreation i made in cops

cheers,

Junaid

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...