Canvas/PNG Importing


Here we mingle, introduce ourselves, our thoughts and ideas and have caring discussions.

User avatar

Posts: 1296

Joined: Sat May 31, 2014 12:35 pm

Post Sun Jun 14, 2015 2:27 pm

Canvas/PNG Importing

Hello dear Taron & community, did you know, whta kind of png I did need, if I want to use it in Verve as a canvas? for example I have a black/white png file with a wall bricket, but I can hit ctrl+p and hit again, but nothing is happing, if I paint a canvas layer in verve .. thats running ok, it's just about canvas importing ;)
my system: intel7 - 2600k, gtx 970, dualboot windows 7 64 bit / ubuntu 14.04 lts
my deviantartpage: http://zeropainter.deviantart.com/gallery
my youtube channel: zeropainter - ok, there are only 2-3 very short videos
User avatar

Site Admin

Posts: 7427

Joined: Sun Nov 10, 2013 1:38 pm

Post Sun Jun 14, 2015 4:11 pm

Re: Canvas/PNG Importing

That's because imports do not provide material. The only provide color and the canvas gets filled with an even 1.0 amount of material.
I still have to write the 16bit (+) import in order to allow a proper import of canvas textures. :shrug: ...don't know why that is so hard, but it is. :oops:
Here to help! :D
System Info: Mac mini, Apple M1, 8 Gb, Sonoma 14.5 - secondary: AMD Radeon RX Vega 10, AMD Ryzen 7 (2.3 Ghz), Windows 11
Taron.de | Twitter | Pinterest | YouTube

Posts: 266

Joined: Wed Apr 09, 2014 3:37 pm

Post Mon Jun 15, 2015 4:58 pm

Re: Canvas/PNG Importing

Great to see this question as I was just trying to do this a few days ago….I also was surprised it did not work as expected.
Is it possible to map the brightness value of imported images to material amount so we can use them as canvas textures with control-p ?

s
Macbook Pro
2.6 intel core i7
8 gb ram
Nvidia 650m 1gb v ram
bootcamp windows 7 premium
User avatar

Site Admin

Posts: 7427

Joined: Sun Nov 10, 2013 1:38 pm

Post Mon Jun 15, 2015 5:04 pm

Re: Canvas/PNG Importing

It's ugly. You will not like it, believe me!
I could try to write some sort of blur to get finer values, but without it you will sadly agree with me, trust me. :shrug:
Thing is, even 16bit isn't ideal for that sort of thing, because it ain't just bumpmapping, which would be ugly, but it's how it interacts with the fluids. Seeing pixels is never nice, but this sort of involuntary distribution of fluids will most certainly be unpleasant.
I have to figure out that import.
Here to help! :D
System Info: Mac mini, Apple M1, 8 Gb, Sonoma 14.5 - secondary: AMD Radeon RX Vega 10, AMD Ryzen 7 (2.3 Ghz), Windows 11
Taron.de | Twitter | Pinterest | YouTube

Posts: 30

Joined: Thu Mar 13, 2014 9:09 pm

Post Fri Jun 19, 2015 2:28 am

Re: Canvas/PNG Importing

I apologize if it's the wrong place... Have you considered supporting Open EXR (32bit)?
User avatar

Site Admin

Posts: 7427

Joined: Sun Nov 10, 2013 1:38 pm

Post Sun Jun 21, 2015 9:03 am

Re: Canvas/PNG Importing

Oh, I consider all formats, but I need to port them over to BlitzMax as it stands and that's a little...tricky here and there. I still have to figure out how I might actually just connect datablocks to C++ (or C) compiles, which are also possible through Bmax. I've had some trouble with that, which is why I had to write my own export routines for 16bit png, for example.
There is a freeimage library, but it's gigantic, literally 4 times the size of entire Verve, and it's full of redundancies...so...I don't want to use that. :P

But, yeah, I'll have a look at EXR, also because I kinda like the format. :) :geek:
Here to help! :D
System Info: Mac mini, Apple M1, 8 Gb, Sonoma 14.5 - secondary: AMD Radeon RX Vega 10, AMD Ryzen 7 (2.3 Ghz), Windows 11
Taron.de | Twitter | Pinterest | YouTube

Posts: 30

Joined: Thu Mar 13, 2014 9:09 pm

Post Tue Jun 23, 2015 3:02 am

Re: Canvas/PNG Importing

Thank you for your answer and great work. :beer: enjoying it.
Yes i like EXR too, it's great for 'raw' (lossless) work. Wouldn't mind if it was only extra format supported (can edit/tranlate it further in almost any other imaging app).
For now i only use vrv (to continue where finished) & png16 (to use with krita & blender). Slowly developing in skill & style :oops:
Have a great time doing what you love.

Return to Community [feedback, bug reports, discussions, etc...]

Who is online

Users browsing this forum: No registered users and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software