Chaos Corona Forum

General Category => Porting and API => [Archive] Chaos Corona for ARCHICAD => Topic started by: Ehabhd on 2020-02-10, 13:23:26

Title: Texture size question
Post by: Ehabhd on 2020-02-10, 13:23:26
I have a question about Corona material
Why do I have to go to the open GL TO resize my textures?
Or There's another way.
Title: Re: Texture size question
Post by: TomG on 2020-02-10, 14:24:54
The JPG has zero size on download. You can just embed the image into the post by using the "Attachments and other options" which would open it here in the thread.
Title: Re: Texture size question
Post by: alexhajdu on 2020-02-13, 09:50:29
Hi.
Please note you are not resizing (changing resolution in pixels) textures at all.
In OpenGL, Basic Engine neither in Corona Renderer you are not manipulating texture size (in pixels), rather you are manipulating texture UVs.

In Corona Renderer while using Basic Texture shader, you can inherit the values (by default) ie. using settings from Base Engine or you can override the settings - see attachment.
Title: Re: Texture size question
Post by: Ehabhd on 2020-02-13, 19:08:46
Thanks for the information I will try this I see archicad 23 😉😘
I have to say you have to work on archicad cinarender conversion because some material does not show as supposed to i use alote of cinerender material i hop to see an improvement in the future keep up the good work .
Title: Re: Texture size question
Post by: alexhajdu on 2020-02-14, 09:39:54
You are welcome :) And yes, material library is quite a big topic here at Corona. We are trying to find the optimal way also for ARCHICAD...