Any
andrej
- 40 public contributions
- Member since
- Latest contribution Dec 2023
Unable to convert: BitMap to type TextureMap
Forum topic
Hi all. How to convert BitMap to type: TextureMap ? -------------------------------------------------------------------- displaceBitmapStr = getBitmapOpenFileName caption:"Select displace image file" filename:locDir types:"All|*.*|"…
1 commentCamera rename
Forum topic
Hi all. I haven’t used Maxscript in my work for a long time, I forgot a lot... There is a camera in the scene. It is known that the camera class is Freecamera. I want to rename it using a script. But that doesn't happen…
4 commentsLooking for a formula to convert for Camera.Zoom attribute from degrees to pixels...
Forum topic
In After Effects, the camera layer has a .zoom attribute Attribute Units: Pixels, Millimeters, Inches app.project.item(1).layer("Camera 1").Zoom.value --> 1777,7778 Pixels In 3DS MAX app, camera has .fov attribute Attribute units: degree…
0 commentsHow to save the FOV values exported camera to a TXT file
Forum topic
Good afternoon. Now I studied the RPF format for exporting data from 3DS Max to After Effect. I learned that from the sequence of RPF files, you can create a camera in After Effect, via the "RPF camera import" command. But for such a…
2 commentsIs it possible to wire the parameters of two objects without running the parameter wiring interface ???
Forum topic
Is it possible to wire the parameters of two objects without running the parameter wiring interface ???
0 commentshow to scale the selected vertices of the spline using the script?
Forum topic
Hello everyone. how to scale the selected vertices of the spline using the script? Expression ddd = getKnotSelection $ 1 for i in ddd do ( Scale setKnotSelection $ 1 i [0.99,0.99,0.99] updateShape $ ) not performed....
1 commentwhy does the timer not work ???
Forum topic
Hello !!! There is a camera in the scene -- PhysCamera001. I'm trying to change her parameter try (DestroyDialog Dist) catch() rollout Dist "Dist" width:90 height:50 ( local CamPar = $PhysCamera001.clip_near checkbutton cbn_Plus "+"…
1 commentwhy doesn't the script see the variable ???
Forum topic
Good afternoon. I'm trying to create a script that moves objects in a certain direction (X,Y,Z) .... in the initial position, these objects are located inside another object…
2 commentsExit the script from the pause mode after closing the external Photoshop application
Forum topic
good day... How to set an external event (CLOSE PHOTOSHOP) to exit script from PAUSE mode?
1 commentHow to save color image in PNG format ???
Forum topic
Good day I would like to receive a reduced copy of the image. The initial image has a color palette (RGB Color, 8 bit) CarBitMap = openBitMap "D:\\Eyebrow.png" proxyBitMap = bitmap (CarBitMap.width/10) (CarBitMap.height/10)\…
1 commenthow to scale a separate face for EditablePoly ???
Forum topic
good day. Try to scale a separate face for EditablePoly I try like this.... p = convertToPoly(Plane()) polyop.setFaceSelection p #{1} scale $.selectedFaces [2,2,2] returns - undefined ???
4 commentsAbout BitmapLayerManager trying to get the value of the number of layers in the PSD file.
Forum topic
Good day. I am trying to get the value of the number of layers in the PSD file. The file is attached. If you look at this file in Photoshop, the number of layers is 4. But the script testmap = "D:\\FPSD.psd"…
3 commentsTo build a light source with the same angle of view (Hotspot) as the camera FOV
Forum topic
Good day! Let's say that the scene has a camera - $Camera001 and a light source like Standard Target Spot - $Spot001.Light shape type - rectangle. $Spot001.aspect = renderWidth/renderHeight ($Camera001 aspect) How to calculate the…
1 commenthow to build Editable_Poly plan 2000x 2000 face?
Forum topic
Good day Want to build Editable_Poly plan 2000x 2000 face? The application hangs. Who can tell what is the reason? ----------------------------------------------------------------------- p = plane name: "EP_plane" length:1.0 width:1.0…
7 commentsRename texture name for IFL file
Forum topic
Good afternoon. You need to rename the textures used in the scene. The forum has a page "Rename texture name" http://www.scriptspot.com/forums/3ds-max/scripts-wanted/rename-texture-n… There's a code…
1 commenthow to use the interface iRPFio ???
Forum topic
Good afternoon. I want to save a file with 16 bits per channel \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ b = bitmap 320 240 gamma:1.9 filename:"D:\\Clip11_05_2019\\renderoutput\\AAA.RPF" render camera:$Camera001 to:b…
1 commentscale an object in the coordinate system of another object.
Forum topic
Hi everyone There is the box $Box001 and the point $Point001 in the scene. if you write such an expression scale $Box001 [2,2,2], the box is scaled relative to the PIVOT point. But if we translate the coordinate system, toolMode.coordsys…
2 commentsautomatic switch to Deph of Field (mental ray/iray)
Forum topic
for the selected camera there is an option to enable MultiPass Camera Effect $.mpassEnabled = off but, with this inclusion, is used Deph of Field effect... is there a command to automatically enable to Deph of Field (mental ray/iray)…
5 commentsin the MAXScript editor, the color coding disappears
Forum topic
Good day. Another strange feature. Write the following code in the editor ____________________________________________________ ModObj = $Modified_Shapes/* as array ini = abs (in coordsys $CameraProject ModObj[1].pos.z) for i = 2 to…
4 commentswhy there is no switching between move and scale modes in the example?
Forum topic
Good afternoon. Can anyone explain why there is no switching between move and scale modes in the example? Any object and Point named Point001 is present in the scene…
5 commentsincorrect orientation of the point in space
Forum topic
Good afternoon. I want to write a script to rotate the camera, using Rotation_script() Imagine that there is a rail on which slides the carriage and the carriage attached to the camera. When moving the carriage along the rails, the camera…
0 commentsMaximum Nested Error Dialog Depth Reached
Forum topic
there was a message ************************************************** Maximum Nested Error Dialog Depth Reached --------------------------- Attempt to display more that maximum number of simultaneous error message dialogs occurred. See…
1 commentIllegal self-reference in controller script
Forum topic
Illegal self-reference in controller script Good afternoon, fans of MAXSCRIPT. There is some function that calculates the rotation of the object number One, depending on the distance between objects One and Two. I'm trying to write this…
3 commentsSetKnotSelection behavior.
Forum topic
Good afternoon. I'm trying to assign a Linked XForm modifier, every vertex in selected spline. The scene includes a spline, and the selected tab is the Modifier Panel. After the end of the script, and exploring the Modifier Panel, I see…
1 comment