Author Topic: Trying to Understand the Painted Shader - Which View to Paint In?  (Read 265 times)

Offline D.A. Bentley

  • Member
  • *
  • Posts: 89
    • D.A. Bentley
I'm sure there is a simple explanation but there are so many threads on the Painted Shader, it's hard to find an answer to my question in the jumble.

Basically I want to know why painting a mask in the top-down tiny Preview Window doesn't do anything?  It seems you have to paint the mask in the 3D View for it to work as a mask to blend the edges of a heightfield into the fractal terrain.  So when I right-click on the tiny Preview Window to select "Open in New Window" and start a Painted Shader session there, what is it doing, or affecting?


Offline SILENCER

  • Member
  • *
  • Posts: 40
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #1 on: November 11, 2017, 12:54:10 AM »
You'll have to do it in the 3D view, as I believe the painted shader is actually a 3D effect.


http://www.planetside.co.uk/wiki/index.php?title=Painted_Shader_Guide


Offline D.A. Bentley

  • Member
  • *
  • Posts: 89
    • D.A. Bentley
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #2 on: November 11, 2017, 01:03:29 AM »
You'll have to do it in the 3D view, as I believe the painted shader is actually a 3D effect.

http://www.planetside.co.uk/wiki/index.php?title=Painted_Shader_Guide

I actually read both Wiki pages on the Painted Shader already, and nothing explains why you can start a Painted Shader session in the Preview Window.  Thats my main question.  Is there any purpose?  Why have the button there to start a session if it's not useful?

Offline Dune

  • Member
  • *
  • Posts: 12826
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #3 on: November 11, 2017, 06:08:50 AM »
I don't understand the problem, actually. Painting with the painted shader works in 3D mode and can be executed in the main preview window, where you can manouvre around to have the best 'canvas' for painting. The button is right above it.

Btw. I'm not Planeside, but I know they don't like png's to be posted (too large).
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline D.A. Bentley

  • Member
  • *
  • Posts: 89
    • D.A. Bentley
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #4 on: November 11, 2017, 06:46:54 AM »
Dune, thanks for the heads up on PNG's.  I didn't notice how big they were until you pointed it out.

I know how to use the Painted Shader in the 3D Main Preview using the button right above it, but I still don't understand why there is an identical button to start a Painted Shader session in the Top Down, kind of 2D view (whats the official name of that view?).  I just don't know the terminology for that little/tiny preview where you can see your shading result as you click on different node layers to the left of that view.  I usually right-click and select "Open in new Window" to get a bigger view to see the preview, and move my camera around.

*** I'm just wondering in what case(s) would you start a Painted Shader session in that window (2D/Top Down Preview) rather than directly in the main 3D Preview window (RTP Window). ***

The reason I ask is because I tried to paint a mask, like an Alpha Channel mask on a Painted Shader node, which was connected to my heightfield to mask it's edges to create a soft blend, but it didn't work as expected.  I had to paint directly on my heightfield in the 3D view while in a Painted Shader session initiated from the 3D View, which seems weird to me.  Maybe my mind is just not thinking properly about how this works, but I intuitively look at the Painted Shader node as a Grayscale Mask/Alpha Channel Image (like a 4th channel for Transparency in a TGA file for example).  Are my paint strokes being stored in the Painted Shader, or on the Heightfield?

If none of this makes sense, if you/someone can just answer my main question in between the "***" I will be happy.  :)

Offline Matt

  • Planetside Staff
  • *
  • Posts: 2852
  • I'm the crazy one
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #5 on: November 11, 2017, 07:05:13 AM »
You can paint in the Heightfield Preview or Shader Preview, and it should work. Can you post an example TGD where it's not?

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline D.A. Bentley

  • Member
  • *
  • Posts: 89
    • D.A. Bentley
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #6 on: November 11, 2017, 07:37:02 AM »
OK, now I feel stupid.  I just figured out why it didn't work for me the first time.  Actually I know it was working before now, but I just couldn't see the result of my mask because I had a huge chunk of terrain, and my Painted Shader size was set to only 1km.  I just discovered how to zoom out to make the shader size bigger.  I zoomed out to make the Painted Shader 64km, and then it was big enough to see.  Thanks for helping me work through this everyone.   

Offline bobbystahr

  • Member
  • *
  • Posts: 8204
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #7 on: November 11, 2017, 03:55:04 PM »
Ah the forum is functioning perfectly as always....
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline Matt

  • Planetside Staff
  • *
  • Posts: 2852
  • I'm the crazy one
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #8 on: November 11, 2017, 05:44:04 PM »
I'm glad you got that working. Sometimes it helps to know something is possible before you can solve the problem  :)
Just because milk is white doesn't mean that clouds are made of milk.

Offline Dune

  • Member
  • *
  • Posts: 12826
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Trying to Understand the Painted Shader - Which View to Paint In?
« Reply #9 on: November 12, 2017, 06:12:47 AM »
I never use that window, so I didn't even notice the second button, hence the confusion  ;)
In case you still haven't seen enough of my work: www.ulco-art.nl

 

anything