Jump to content
View in the app

A better way to browse. Learn more.

Max3D.pl

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Witajcie pisze pewien projekt w openGL i mam wykorzystac ustawienie kamery z 3ds maxa. Dostalem kartke z taka macierza i nic wiecej:

camera transformation:

[-0.007877, -0999873, -0.013804]

[-0.050222, -0.013391, 0.998648]

[-0.998706, 0.008560, -0.050110]

[-666.493, -28.1239, 11.2804]

camera focal len:

0.154917

 

Z tego co samemu udalo mi sie odszukac to drugi wiersz jest to Up vector a czwarty to pozycja. Wie ktos moze dokladnie co oznaczaja poszczegolne wartosci i jak wygladala by zamiana na kamere w openGL.

 

gluLookAt(vec3 position, vec3 target, vec3 up)

  • Replies 3
  • Views 4.1k
  • Created
  • Last Reply

Top Posters In This Topic

Nie znam sie na maxie ale zapewne to macierz rotacji + pozycja

czyli:

 

[XROTx, XROTy, ZROTz] [0]

[YROTx, YROTy, YROTz ] [0]

[ZROTx, ZROTy, ZROTz] [0]

[ POSx, POSy, POSz ] [1]

 

Zwroc uwage na ekstremalna wartosc w X (co moze byc wlasnie twoim targetem) i na coordynate system 3D Maxa

Edited by tmdag

ta ekstremalna wartosc to blad powinno byc 0.99..

domyslam sie ale nawet z 0.99 jest dosc dlugi ten wektor

Create an account or sign in to comment

Important Information

We are using cookies. Read about our Privacy Policy

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.