Author Topic: [solved] Corona Proxy_Car  (Read 182 times)

2019-02-09, 09:36:35

Jadefox

  • Active Users
  • **
  • Posts: 216
    • View Profile
    • Renderlab
Hi Guys

I need to make a render with loads of cars in a parking lot
Obviously the viewport gets too bogged down with lots of detailed cars in the scene.

When I try to proxy the entire car it only does portions like the body or the windscreen.
I tried collapsing the entire model and attaching as one, but then it loses its textures

I tried searching the forum to no avail, is there a solution to this ?
Can anybody please assist : )

Regards
« Last Edit: 2019-02-13, 12:09:45 by maru »

2019-02-09, 10:26:19
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 5466
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It should be possible export to proxy in both ways - collapsed and uncollapsed. Make sure you check "collapse to single proxy" option.
I'm not Corona Team member! Everything i say, is my personal opinion only. Render Legion does not endorse my words nor actions.

2019-02-11, 15:43:25
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 8619
  • Marcin
    • View Profile
Yep, like Romullus said - select all the objects and use "collapse and export" option in the exporter.
I don't however see any problem with converting everything into editable poly, attaching everything into a single object, and then saving it as a proxy. Why would there be any problems with materials?

2019-02-12, 00:44:06
Reply #3

mferster

  • Active Users
  • **
  • Posts: 369
    • View Profile
You can use this script if you want to collapse and attach all selected objects into a single mesh, it preserves all assigned materials.

Code: [Select]
(
max create mode
disableSceneRedraw()
with undo off
(
 
local sel = for o in selection where superclassOf o == geometryClass collect o
local meshO = sel[1]
deleteItem sel (findItem sel meshO)
 
convertToMesh meshO
 
for o in sel do attach meshO o
 
)
enableSceneRedraw()
)

2019-02-12, 09:23:52
Reply #4

Jadefox

  • Active Users
  • **
  • Posts: 216
    • View Profile
    • Renderlab
@Romullus
@Maru
@Mferster

Apologies for the delay in reply
Thanks guys it works perfectly I understand where I went wrong
Much appreciated.