formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Q-Subz

# fz_objt_edit_qsub

Description

Creates quadrangular subdivisions on an object. Optionally, only selected faces can be subdivided. This is specified through the face_list array, which contains the indices of the faces to be subdivided. If face_list is NULL, the whole object is subdivided.

Plugin Prototype

fzrt_error_td fz_objt_edit_qsub(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | max_level,
fzrt_int * | face_list,
fzrt_int | n_face_list,
fz_objt_qsub_edit_opts_ptr | opts )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

max_level [Input]

maximum number of subdivisions levels per face. Note, that each level increases the number of faces exponentially. Values above 10 are rarely meaningful.

Range: max_level >= 1

face_list [Input, Optional]

list of faces to subdivide

n_face_list [Input, Optional]

number of faces in list

opts [Input, Optional]

edit options

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_qsub.fsl

See Also

fz_objt_edit_qsub_opts_init, fz_objt_edit_qsub_opts_finit, ,

Function Set

fz_model_fset

Defined in

fz_objt_qsub_api.h