Thursday, February 16, 2012

Bex (CH) - School


Bex (CH) - School, a set on Flickr.
Hello,
this is my last work for architectural visualization.
3D model has been made inside blender, to clean and prepare references I've used QCad and AutocadWS (free).
To get the final render I needed to come back to 3D Studio Max and VRay due to deadline.
Postproduction: Photoshop.

bye


Thursday, February 9, 2012

ObjectMaterialTool - 1.2

Hi,
I've updated my utility for 3D Studio Max.
For the in-depth description I suggest you to read my ScriptSpot page: ObjectMaterialTool 1.2


Here's a simple presentation:



I've developed this tools in order to go fast with UV Mapping in shading stage of my work, but I added some selection tools and a pair of button to work with vrayproxies.


You can download the script here:
download OMT 1.2


I hope that this could be usefull to you as it is for me!
Pietro

Friday, February 3, 2012

MaterialByElement in Blender - EN

Hi guys,
in my Blender work I needed something similar to "Material by Element" in 3DMax.
So, after having a look around, I've decided to make it on my own:



And this is a small preview of the script applied to rooftiles:




The script at the moment does the following task:
(tested on Blender 2.61 on Win64)

1 - it removes ALL materials from scene
2 - it creates 'N' materials whose diffuse is calculated so:
  • (r+(i/K), g+(i/K), b+(i/K))   for i even
  • (r-(i/K), g-(i/K), b-(i/K))     for i odd
dove:
  • i is the for counter (range: 0-N)
  • r, g, b are the main color's values
  • K is the number that make the difference between diffuses (N*5 = more contrast, N*20 = less)
3 - it assigns the each material to one or more objects in the scene, until the end of selection


FAQ:
  1. Why does it removes ALL material? Because in developing stage I need a clean scene.
  2. How do you use it? At the moment I use a separate .blend file for rooftile and I keep'em linked to the main scene.
  3. How does it works? Simply copy and paste the code in the editor and run it.
  4. Something more? Yeah. Make a BACKUP of your work and be sure that you've ALL objects selected :)

I've got to go ahead, see you!

MaterialByElement for Blender - IT

Ciao a tutti,
nel corso del mio appendimento con Blender mi sono scontrato con la necessità di creare tetti e tegole: constatata la mancanza di uno strumento simile al MaterialByElement, ho deciso di crearmi uno script ad-hoc:


E questo è una preview del risultato dello script applicato alle tegole:





Lo script (testato su Blender 2.61, windows 64) svolge al momento questi compiti:

1 - elimina TUTTI i materiali dalla scena
2 - crea un nuovo set di N materiali con diffuse calcolato in questo modo:
  • (r+(i/K), g+(i/K), b+(i/K))   se i è pari
  • (r-(i/K), g-(i/K), b-(i/K))     se i è dispari
dove:
  • i è il contatore del ciclo for (range: 0-N)
  • r, g, b sono i valori del colore di riferimento (da inserire nella dichiarazione all'inizio)
  • K è un coefficiente che regola il contrasto tra il diffuse dei materiali (N*5 è più contrastato, N*20 meno)
3 - assegna i materiali a tutti gli oggetti selezionati, riportando gli slot a 1


Domande:
  1. Perchè cancella tutti i materiali? Perchè in fase di sviluppo ho bisogno di una scena pulita.
  2. Come lo usi allora? Per adesso ho una scena separata per le tegole, che sono linkate al file principale, così posso smanettare in scioltezza.
  3. Come si usa? Copia e incolla il codice nell'editor, seleziona gli oggetti coinvolti ed eseguilo
  4. Altro? Sì. Fai una COPIA della scena, è ancora in fase di test! E seleziona TUTTI gli oggetti.

Torno sullo script, c'è ancora parecchio da fare...

Thursday, February 2, 2012

A blender challenge

Ciao,
ho iniziato di recente la realizzazione di un mio vecchio lavoro per testare Blender 2.61 in un workflow professionale.


Questo è il link alla discussione su BlenderArtist: Architectural-exterior-A-simple-House
Mentre sul Flickr è presente un timelapse del lavoro in corso... Blender "test drive"


Ora, sono alle prese con un problema:
 - ho messo le tegole in un file esterno che è linkato al principale poichè sto realizzando un addon che vada a fare quello che fa il modificatore "Material by Element" in Max ed ho bisogno di una scena un po' più leggera.
 - sembra tutto in ordine ma quando renderizzo la scena madre gli oggetti linkati risultano totalmente neri.


Suggerimenti?
:-)