https://www.posetteforever.com/viewtopic.php?f=68&t=4045&p=45636#p45636
-----------------------------------
Nik
Saturday, 17 July 2021, 09:09 PM

Tilting At Mindwills...
-----------------------------------
You may have noticed I've been merrily loading RM's vivid SCG freebie RE2 sets into Poser, wrangling masks etc to give the sets' luminaires 'natural' lighting for fun renders...

And you may have noticed several days have passed without a fresh post to the gallery...

Well, I've hit a hard one. RE2 "Room 115 STARS office" has a few desk-lamps and bulkhead lights, for which I've ambiance masks.  Problem is the ceiling, which has six luminaire panels, some ducting supporting them as 3+3 and a 'riser' wall-duct. All on the same RE2 texture. So, if dialled to 'super ambient', all the ducting etc lit as bright as the lights...

Okay, I'll just mask it...

Um, remember the problems I had mapping the eye-textures [b][i]mostly [/i][/b]right for that 'MLP' render ? This began harder, got worse...

I managed to copy/paste ducting +lights out of the main OBJ, and they still recognised the texture. But, mask as I would, the ducting 'leaked' and lit, spoiling the look.

I tried several UV mappers and 3D editing programs, could not split out the luminaire panels from the ducting yet still have the latter accept the texture.

After converting their OBJ to 3DS and studying it in classic Draw3D, which offers vertex XYZ lists, I realised the luminaires were shallow boxes, but the wall and ceiling 'ducts' were flat. No wonder I'd had problems.

Upside, this meant the ceiling 'ducts' had a common 'Y' height ~ 3.8, which was different to the luminaires' top and bottom 'Y' heights of 3.36 + 3.34, which were very different to the wall-ducts' top + bottom 'Y' heights of 2.70 + -0.02...

So, just by looking at the lights + ducts OBJ in eg Notepad, I could pick out which was what.

All I had to do was add a few mtllib + usemtl calls to divert the luminaire panels to use eg lightmap_white.jpg which appears in several scenes...

Yeah, right.

Of course, the panels came up white, but the ducting did not call their texture...

After a weary hour on hottest day of 2021 to date, I had to leave it, go eat. Made a picnic of sliced roast-chicken and chilled beetroots, pre-steamed. Still had enough chicken to eat well after cats stole several slices while I drained the mini-beets...

Wasn't the first I'd seen of those cats today, not quite: But, suddenly, swoosh, bounce, gone...

Cats will be cats...

The texturing ? I'm going to save what I've done, have a pint of tea then go soak my head...


