Can't import .png's for Texture Paint and UV maps...

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Post Reply
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

When I add a new Octane Image Tex, and click Open, and choose a .png, then that image is in most cases NOT imported.

Instead, the title field of the Tex node says Material.003, for instance.

However, some .png's do open - but they behave very strange:

Let's say I open X.png. That image is now visible in the UV-window, below the UV-map. And if I paint directly on that map in the UV-window, it is updated on the rendered 3D-figure as it should be.

But if I paint directly on the 3D-figure instead - either in preview Render or in Material mode in Viewport Shading - then the paint is not applied.

And if I try to paint directly on the 3D-figure in Solid or Texture mode instead, then ANOTHER image (that of Material.003) is un-mapped onto the 3D-figure, instead of X.png.

In other words, it's like the image is permanently embedded in the Material. And I can't figure out how to use another image instead...
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
mib2berlin
Licensed Customer
Posts: 1194
Joined: Wed Jan 27, 2010 7:18 pm
Location: Germany

Hi, could you prepare a small testfile?
I can make a fast verify of that "Bug"
Do you use latest Blender for O. version, on Windows ?

Cheers, mib
EDIT: For bug hunting best is to add test file to show the problem every time.
Add your system specs too, best is to add it in User Control Panel > profile > signature.
Opensuse Leap 42.3/64 i5-3570K 16 GB
GTX 760 4 GB Driver: 430.31
Octane 3.08 Blender Octane
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

mib2berlin wrote:Hi, could you prepare a small testfile?
I can make a fast verify of that "Bug"
Do you use latest Blender for O. version, on Windows ?

Cheers, mib
EDIT: For bug hunting best is to add test file to show the problem every time.
Add your system specs too, best is to add it in User Control Panel > profile > signature.
Thank you for your reply (I just saw it now)!

EDIT: Please see my new post below.

As for Blender/Octane version: It's one of the versions from this month (7.7,I believe).
Last edited by justavisitor on Sun Apr 05, 2015 6:38 am, edited 1 time in total.
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

Well, this is driving me bunkers. :mrgreen:

Here's what I do: Could anybody please tell me what I'm missing?

1) I open a new project, delete cube, add sphere
2) Add Octane material to sphere
3) Smart UV-unwrap sphere (or unwrap it in any other way)
4) Create a new image titled Sphere1 in the UV-editor
5) Still in the UV-editor, click Image and "Pack as PNG" (instead, I've also tried Save As Image and then packing the .png in the .blend, but that doesn't make any difference)
6) In the Node editor, add Octane Image Tex, open Sphere1 and connect its output to the Material's in.
7) When I now go into Texture Paint, I get the message "Missing data" and the button Add Paint Slot.

Please see attached .blend.

Which step did I miss above?

(If I do go ahead and Add Paint Slot, then I can paint on that, but it doesn't render since the image Sphere1 is open in the Image Tex node...)
Attachments
sphere.blend
(4.53 MiB) Downloaded 213 times
missingdata.JPG
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
mib2berlin
Licensed Customer
Posts: 1194
Joined: Wed Jan 27, 2010 7:18 pm
Location: Germany

Hi, make some test but cant get it to work.
I think the image is simply not updated, you can paint on it if you add a new texture slot and change octane image to new slot.
I got it to work for one stroke but cant reproduce it, is not helpful anyway.
We can call it a bug. :)

May JimStar can look into after weekend.

Cheers, mib
Opensuse Leap 42.3/64 i5-3570K 16 GB
GTX 760 4 GB Driver: 430.31
Octane 3.08 Blender Octane
mib2berlin
Licensed Customer
Posts: 1194
Joined: Wed Jan 27, 2010 7:18 pm
Location: Germany

Got it to work, kind of.
Open your test file, add new material slot in texture paint diffuse color.
Change Octane image texture to new material.001bla, start render, paint.
Change UV image to new material.001 too.
When you save the image it stop working.

Cheers, mib
Opensuse Leap 42.3/64 i5-3570K 16 GB
GTX 760 4 GB Driver: 430.31
Octane 3.08 Blender Octane
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

mib2berlin wrote:We can call it a bug. :)
Thank you mib, yes I agree.
mib2berlin wrote:Got it to work, kind of.
Open your test file, add new material slot in texture paint diffuse color.
Change Octane image texture to new material.001bla, start render, paint.
Change UV image to new material.001 too.
Yes, I tried that - plus all the variations I can think of - but...
mib2berlin wrote: When you save the image it stop working.
Yes. :mrgreen:

EDIT: Another strange thing: The only reason that you can paint temporarily on "material.001bla" is that when you added your new Paint Slot, then a Cycles Image Texture node was added automatically.

Remove that node, and you can't paint anymore - not even if you open "material.001bla" in the Octane Image Tex as well as in the UV-editor and under Textures/Image. If you do try to paint, you'll get the error message Missing Textures Detected.
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

One of the main problems is that you can't paint on an imported image.

Try this:

1) Open a new project, delete the cube, add a sphere
2) Add Octane material to the sphere
3) Smart UV-unwrap the sphere (or unwrap it in any other way)
4) Open an existing image from a hard drive in the UV-editor
5) Still in the UV-editor, click Image and "Pack Image" and Save All Images in order to embed the image in the .blend file.
6) In the Node editor, add Octane Image Tex, open your image and connect its output to the Material's in.
7) You can now render the image.
8) But when you go into Texture Paint, you get the message "Missing data" and the button Add Paint Slot again...
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
Post Reply

Return to “Blender”